[ 
https://issues.apache.org/jira/browse/DAFFODIL-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Adams updated DAFFODIL-2797:
---------------------------------
    Fix Version/s: 3.10.0

> Make Runner final
> -----------------
>
>                 Key: DAFFODIL-2797
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2797
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Clean Ups
>            Reporter: John Interrante
>            Assignee: Mike Beckerle
>            Priority: Trivial
>             Fix For: 4.0.0, 3.10.0
>
>
> We have hundreds of Test*.scala files in Daffodil, each with at least one 
> 'val runner' constructing a test suite from a TDML file.  IDEA has warnings 
> in all of these files saying that we need explicit type declarations for 
> these runners.  However, no user ever extends the Runner class so we could 
> make Runner a final class, which would eliminate all of these warnings in 
> IDEA.  Scala has ways to let users extend even final classes like String so I 
> am not worried about preventing users from doing something with Runner.
> We also could look for other Daffodil classes which cause similar IDEA 
> warnings and make them final too if they are unlikely to ever be subclassed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to