Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
VFSFileChangedReloadingStrategy.init() uses configuration before checking it for null:
if (configuration.getURL() == null && configuration.getFileName() == null) { return; } if (this.configuration == null) { throw new IllegalStateException("No configuration has been set for this strategy"); }
The if statements should be swapped.
[Note found by Findbugs]