Commit 713efd0
More code cleanup and refactoring (metaschema-framework#245)
* Added missing Javadocs. Adjusted many existing Javadocs to provide more details.
* Refactored data type and atomic item implementations to move casting operations to the atomic item implementations. This creates a cleaner isolation between the type adapters and Metapath items.
* Refactored names of temporal implementation classes.
* Removed some unused constants.
* Improved date and dateTime adapter unit testing to check for ambiguity and resulting time value.
* Reformatted some code.
* Performed some light refactoring to remove unused code and to improve overall code readability to make maintenance easier.
* Added asserts to ensure HTML to Mardown conversion is tested more completely.
* Significantly improved data and date/time parsing test vectors.
* Replaced Paths.get() with Paths.get(System.getProperty(user.dir)) to be more explict. Improved value creation methods in date and date/time item classes. Added many Javadocs.
* Refactored the result type used in MetapathExpression to avoid the need for a case statement. This should result in cleaner code and better performance overall.
* Removed commented out code.
* Updated some inconsistent log4j configurations to be consistent with other configurations.
* Updated dependencies through parent POM.1 parent 4ba0967 commit 713efd0
File tree
181 files changed
+3437
-1375
lines changed- cli-processor/src/main
- java-templates/gov/nist/secauto/metaschema/cli/processor
- java/gov/nist/secauto/metaschema/cli/processor
- command
- impl
- resources
- core/src
- main
- java-templates/gov/nist/secauto/metaschema/core
- model
- java/gov/nist/secauto/metaschema/core
- datatype
- adapter
- markup
- flexmark
- impl
- object
- metapath
- antlr
- function
- library
- item/atomic
- impl
- model
- validation
- xml
- impl
- test/java/gov/nist/secauto/metaschema/core
- datatype
- adapter
- markup
- flexmark
- metapath/function/library
- util
- metaschema-cli/src
- main/java/gov/nist/secauto/metaschema/cli/commands
- metapath
- test/java/gov/nist/secauto/metaschema/cli
- metaschema-testing/src/main/java/gov/nist/secauto/metaschema/model/testing
- xml/xmlbeans/handler
- schemagen/src/test/java/gov/nist/secauto/metaschema/schemagen
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
181 files changed
+3437
-1375
lines changedLines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 49 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| |||
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
64 | | - | |
65 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
66 | 82 | | |
67 | 83 | | |
68 | 84 | | |
| |||
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
| 90 | + | |
| 91 | + | |
74 | 92 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
80 | 108 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
85 | 113 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
92 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
93 | 125 | | |
94 | 126 | | |
95 | 127 | | |
0 commit comments