Upgrade lastnpe EEA to 2.4.0 (#4416)

For release notes, see:

https://github.com/lastnpe/eclipse-null-eea-augments/releases/tag/v2.4.0

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2024-10-20 16:03:03 +02:00
committed by GitHub
parent 1325d80343
commit a22349abf4
3 changed files with 6 additions and 5 deletions
@@ -263,8 +263,9 @@ public abstract class AbstractFileTransformationService<T> implements Transforma
*/
protected String getLocalizedProposedFilename(String filename, final WatchService watchService) {
final File file = new File(filename);
if (file.getParent() != null) {
watchSubDirectory(file.getParent(), watchService);
final String parent = file.getParent();
if (parent != null) {
watchSubDirectory(parent, watchService);
}
String sourcePath = getSourcePath();