diff options
Diffstat (limited to 'org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java')
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java index d2a5f0492..2bdf10262 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Lint.java @@ -231,10 +231,8 @@ public class Lint { setFromProperties(p); } - @SuppressWarnings("rawtypes") public void setFromProperties(Properties properties) { - for (Map.Entry<Object, Object> objectObjectEntry : properties.entrySet()) { - Map.Entry entry = (Map.Entry) objectObjectEntry; + for (Map.Entry<Object, Object> entry : properties.entrySet()) { Kind kind = kinds.get(entry.getKey()); if (kind == null) { MessageUtil.error(world.getMessageHandler(), WeaverMessages.format(WeaverMessages.XLINT_KEY_ERROR, entry.getKey())); |