Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java
index 1c402fbe38c..31b8dc22756 100644
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java
+++ b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/classserver/PathResourceFinder.java
@@ -31,9 +31,9 @@ import org.eclipse.osee.framework.logging.OseeLog;
public class PathResourceFinder extends ResourceFinder {
- private final HashSet<JarFile> jars = new HashSet<JarFile>(128);
- private final HashSet<String> dirs = new HashSet<String>(128);
- private final HashMap<String, JarFile[]> map = new HashMap<String, JarFile[]>(128);
+ private final HashSet<JarFile> jars = new HashSet<>(128);
+ private final HashSet<String> dirs = new HashSet<>(128);
+ private final HashMap<String, JarFile[]> map = new HashMap<>(128);
private final boolean trees;
private final ClassServerPermissions perm;
private static final int NUMBER_OF_FILE_READ_ATTEMPTS = 20;
@@ -144,7 +144,7 @@ public class PathResourceFinder extends ResourceFinder {
for (int j = 0; j < files.length; j++) {
String jar = files[j];
if (jar.endsWith(".jar") || jar.endsWith(".zip")) {
- ArrayList<JarFile> jfs = new ArrayList<JarFile>(10);
+ ArrayList<JarFile> jfs = new ArrayList<>(10);
try {
addJar(jar, jfs, base);
map.put(jar.substring(0, jar.length() - 4), jfs.toArray(new JarFile[jfs.size()]));

Back to the top