aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java b/bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java
index 28a414acd..6117b96a9 100644
--- a/bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java
+++ b/bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java
@@ -123,7 +123,7 @@ public class CompilationAndWeavingContext {
}
public static void registerFormatter(int phaseId, ContextFormatter aFormatter) {
- formatterMap.put(new Integer(phaseId), aFormatter);
+ formatterMap.put(phaseId, aFormatter);
}
/**
@@ -195,7 +195,7 @@ public class CompilationAndWeavingContext {
}
private static ContextFormatter getFormatter(ContextStackEntry entry) {
- Integer key = new Integer(entry.phaseId);
+ Integer key = entry.phaseId;
if (formatterMap.containsKey(key)) {
return formatterMap.get(key);
} else {