Skip to content

Commit d9b3b44

Browse files
author
Rob Austin
committed
simplified generics
1 parent b651dc9 commit d9b3b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/openhft/compiler/CachedCompiler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public class CachedCompiler implements Closeable {
4040
private static final Logger LOG = LoggerFactory.getLogger(CachedCompiler.class);
4141
private static final PrintWriter DEFAULT_WRITER = new PrintWriter(System.err);
4242

43-
private final Map<ClassLoader, Map<String, Class>> loadedClassesMap = Collections.synchronizedMap(new WeakHashMap<ClassLoader, Map<String, Class>>());
44-
private final Map<ClassLoader, MyJavaFileManager> fileManagerMap = Collections.synchronizedMap(new WeakHashMap<ClassLoader, MyJavaFileManager>());
43+
private final Map<ClassLoader, Map<String, Class>> loadedClassesMap = Collections.synchronizedMap(new WeakHashMap<>());
44+
private final Map<ClassLoader, MyJavaFileManager> fileManagerMap = Collections.synchronizedMap(new WeakHashMap<>());
4545

4646
@Nullable
4747
private final File sourceDir;

0 commit comments

Comments
 (0)