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
Add equality to Path, BeanSetting, Block; don't load duplicate Paths in Block #682
Add equality to Path, BeanSetting, Block; don't load duplicate Paths in Block #682
Conversation
…hub.com/SteveRawlinson/JMRI into test-duplicate-file-reads
more tests for the service handler.
More operations automation code
…obsen/JMRI into bobjacobsen-test-duplicate-file-reads
Add equality to Path, BeanSetting, Block; don't load duplicate Paths in Block
It seems that with this commit, my signal mast logic no longer reacts to block occupancy changes. That is, if I check out the commit just before this one, my signal masts works fine. But checking out this one or a newer commit, the reaction to block occupancy changes no longer works. BR |
BTW: As a symptom, I see this null pointer exception from time to time: 2016-02-07 14:22:33,672 ptionhandler.UncaughtExceptionHandler ERROR - Unhandled Exception: java.lang.NullPointerException [B03-B09 B14-B15] |
This adds equals() and hashCode() to Path, BeanSetting and Block (plus JUnit tests) so code can e.g. check for duplicate/equals Paths in a Block.
No longer load duplicate Paths in into a Block, e.g. if a file is read for a second time.
Related to #677, #678