mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Replace some anonymous classes with lambdas
This commit is contained in:
1 parent
ded6e2d531
commit
27d7acc810
26 files changed
+29
-171
No files matched your search
@@ -83,12 +83,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
/**
|
||||
* Filter for jar files.
|
||||
*/
|
||||
private static final FilenameFilter JAR_FILTER = new FilenameFilter() {
|
||||
@Override
|
||||
public boolean accept(File dir,String name) {
|
||||
return name.endsWith(".jar");
|
||||
}
|
||||
};
|
||||
private static final FilenameFilter JAR_FILTER = (dir, name) -> name.endsWith(".jar");
|
||||
|
||||
private PluginManager pluginManager;
|
||||
|
||||
|
||||
Reference in new issue
Block a user