-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove last remnants of deprecated API
Scrub constructor parameters and scaladocs of all remnants of the deprecated API removed by previous DAFFODIL-2743 commits. Remove 2nd DataProcessor constructor; always call 1st constructor instead. Also replace all calls/definitions of DataProcessor's getTunables() with tunables. Make saving and reloading a DataProcessor reset both variableMap and validationMode. Fix some IDEA nits and formatting. SchemaSet.scala: Scrub deprecated API from SchemaSet.root's scaladocs. Fix some IDEA nits in root's code block. SchemaSetRuntime1Mixin.scala: Make onPath call 1st DataProcessor constructor instead of 2nd constructor. TestTunables.scala, TestInfosetCursor.scala, TestInfosetCursor1.scala, TestInfosetCursorFromReader.scala, TestInfosetCursorFromReader2.scala, TestUtils.scala, DFDLParserUnparser.scala, DaffodilUnparseContentHandler.scala, DataProcessor.scala, PState.scala, UState.scala, Runtime2DataProcessor.scala: - Replace getTunables() with tunables. DataProcessor.scala: Remove externalVars from constructor parameters and scaladocs since we no longer pass in compiler-set external variable bindings. Make SerializableDataProcessor's 4 fields same as DataProcessor's first 4 fields, including variableMap to keep preserving variables' mappings. Make SerializableDataProcessor extend 1st DataProcessor constructor instead of 2nd constructor. Format constructors and a few methods according to Scala code style for declarations (https://docs.scala-lang.org/style/declarations.html) including trailing commas and closing parentheses to provide visual separation between function arguments and extensions or body block. Make 1st DataProcessor constructor public, reorder its parameters, and make its last 2 parameters optional. Make writeReplace save variableMap instead of externalVars. Delete 2nd DataProcessor constructor since we no longer pass in compiler-set externalVars. Reorder copy's parameters and make it call 1st constructor instead of 2nd constructor. Remove loadExternalVariables and modify withExternalVariables to get rid of externalVars. Make save reset variableMap as well as validationMode to original values. Runtime2DataProcessor.scala: Put coverage off/on around unimplemented methods. DAFFODIL-2743
- Loading branch information
Showing
14 changed files
with
85 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.