From f41ccac7372307c346c87ee447ca317cc2a6d81b Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Aug 2008 17:51:54 +0000 Subject: [PATCH] removed unnecessary code --- .../src/org/aspectj/ajdt/internal/core/builder/AjState.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java index 284a6ad90..f18235bac 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java @@ -983,9 +983,7 @@ public class AjState { File sourceFile = new File(result.fileName()); CompilationResult cr = result.result(); - if (result != null) { - references.put(sourceFile, new ReferenceCollection(cr.qualifiedReferences, cr.simpleNameReferences)); - } + references.put(sourceFile, new ReferenceCollection(cr.qualifiedReferences, cr.simpleNameReferences)); UnwovenClassFile[] unwovenClassFiles = result.unwovenClassFiles(); for (int i = 0; i < unwovenClassFiles.length; i++) { -- 2.39.5