From 1c487b2e0f54eeb4c2630940e7d57c279ba5a032 Mon Sep 17 00:00:00 2001 From: Andrey Turbanov Date: Tue, 12 Apr 2022 11:22:29 +0300 Subject: Remove redundant casts after generics update --- build/src/main/java/org/aspectj/internal/tools/build/Modules.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/src/main/java/org/aspectj/internal/tools/build/Modules.java b/build/src/main/java/org/aspectj/internal/tools/build/Modules.java index 9f14db899..ec528c342 100644 --- a/build/src/main/java/org/aspectj/internal/tools/build/Modules.java +++ b/build/src/main/java/org/aspectj/internal/tools/build/Modules.java @@ -47,7 +47,7 @@ public class Modules { if (null == name) { return null; } - Module result = (Module) modules.get(name); + Module result = modules.get(name); if (null == result) { File moduleDir = new File(baseDir, name); if (!Util.canReadDir(moduleDir)) { -- cgit v1.2.3