forked from usdot-jpo-ode/jpo-ode
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Incorrect NodeLL Type Selection for Lat/Lon Offsets to Prevent Encoding Failures #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
b3aa97f
Added passing unit tests for `transformNodeLL` and `nodeOffsetPointLL…
dmccoystephenson 2276397
Added failing unit test for `transformNodeLL` when LL type is not spe…
dmccoystephenson efab708
Added failing unit test for `nodeOffsetPointLL` for input lat/lon `-1…
dmccoystephenson b990c1b
Added more unit tests for `nodeOffsetPointLL` method, some of which a…
dmccoystephenson 9f61fdd
Updated LL_5_MINIMUM_MICRO_DEGREES & LL_6_MINIMUM_MICRO_DEGREES to co…
dmccoystephenson 15a198b
Updated some test values & added comments
dmccoystephenson 2a0b82b
Updated naming convention for new tests for clarity
dmccoystephenson 2bbf9ab
Added descriptive failure messages to nodeOffsetPointLL unit tests fo…
dmccoystephenson 36c9a50
Updated test values outside LL constraints
dmccoystephenson c9f345f
Fixed failing unit tests by adding missing parentheses to `nodeOffset…
dmccoystephenson d0165eb
Refactored bitmask range validation by extracting methods and improvi…
dmccoystephenson fe83de8
Renamed `nodeOffsetPointLL` method to `determineNodeOffsetPointLLType`
dmccoystephenson ad10132
Introduced constants for NODE_LL types and added JavaDocs
dmccoystephenson 1bdca12
Updated JavaDocs
dmccoystephenson d3fdded
Refactored `determineNodeOffsetPointLLType` to check numerical limits…
dmccoystephenson 4491431
Added J2735 note regarding the value -8388608
dmccoystephenson 476ce88
Formatted TravelerMessageFromHumanToAsnConverter.java
dmccoystephenson 5b9a1d5
Formatted TravelerMessageFromHumanToAsnConverterTest.java
dmccoystephenson 7528128
Addressed a couple warnings in TravelerMessageFromHumanToAsnConverter…
dmccoystephenson 4caf2ca
Reindented TravelerMessageFromHumanToAsnConverter & TravelerMessageFr…
dmccoystephenson 9b58b25
Reformatted TravelerMessageFromHumanToAsnConverter & TravelerMessageF…
dmccoystephenson e051c08
Removed unnecessary imports, initializations, casts & throws lists in…
dmccoystephenson a98074b
Renamed unit tests
dmccoystephenson e8b4b72
Updated illegal argument exception message
dmccoystephenson ab17e1f
Updated `determineNodeOffsetPointLLType` to throw custom InvalidNodeL…
dmccoystephenson f3ebbbf
Added JavaDocs for InvalidNodeLatLonOffsetException
dmccoystephenson 7bea854
Updated catch block in TimDepositController for InvalidNodeLatLonOffs…
dmccoystephenson 7866bb9
Renamed `determineNodeOffsetPointLLType` to `getNodeOffsetPointLLType`
dmccoystephenson 6e6fc83
Referenced constants instead of using magic strings for nodeLL types
dmccoystephenson 4148165
Changed some accessors to protected instead of public
dmccoystephenson 24d0a66
Made `nonCompliantFields` list a static instance variable & reformatt…
dmccoystephenson 6154bc2
Specified `annotationProcessorPaths` in the root pom.xml
dmccoystephenson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
273 changes: 119 additions & 154 deletions
273
...java/us/dot/its/jpo/ode/plugin/j2735/builders/TravelerMessageFromHumanToAsnConverter.java
Large diffs are not rendered by default.
Oops, something went wrong.
394 changes: 305 additions & 89 deletions
394
.../us/dot/its/jpo/ode/plugin/j2735/builders/TravelerMessageFromHumanToAsnConverterTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.