aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java')
-rw-r--r--uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java b/uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java
index 545ebf8a13..655d67c132 100644
--- a/uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java
+++ b/uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java
@@ -17,7 +17,6 @@
package com.vaadin.launcher;
import java.io.File;
-import java.io.FilenameFilter;
import java.io.IOException;
import java.io.OutputStream;
import java.net.InetAddress;
@@ -257,12 +256,8 @@ public class DevelopmentServerLauncher {
server.start();
});
scanner.setReportExistingFilesOnStartup(false);
- scanner.setFilenameFilter(new FilenameFilter() {
- @Override
- public boolean accept(File folder, String name) {
- return name.endsWith(".class");
- }
- });
+ scanner.setFilenameFilter(
+ (folder, name) -> name.endsWith(".class"));
scanner.setScanDirs(classFolders);
scanner.start();