FindSegmentsFile accesses the member "directory" in line 579 while performing a null check in 592. The null check is unnecessary as if directory is null line 579 would throw a NPE.
I removed the null check and made the member "directory" final. In addition I added a null check in the constructor as If the value is null we should catch it asap.
|Field||Original Value||New Value|
|Priority||Major [ 3 ]||Trivial [ 5 ]|
|Assignee||Uwe Schindler [ thetaphi ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12465727 ]||Default workflow, editable Closed status [ 12562774 ]|
|Workflow||Default workflow, editable Closed status [ 12562774 ]||jira [ 12583693 ]|