summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Orenstein2013-05-01 13:55:09 (EDT)
committer Jeffrey Overbey2013-05-01 13:55:09 (EDT)
commit71fea65db3b863e42403afed6222830fedc990aa (patch)
tree2c66f5256a027d82cd5a7dda539e47391e0d2943
parent3186adc7b43f2c13253ecfc381f395e5c51d8764 (diff)
downloadorg.eclipse.photran-71fea65db3b863e42403afed6222830fedc990aa.zip
org.eclipse.photran-71fea65db3b863e42403afed6222830fedc990aa.tar.gz
org.eclipse.photran-71fea65db3b863e42403afed6222830fedc990aa.tar.bz2
Bug 407004 - Errors in Unit Tests due to java.lang.NoSuchFieldError: vpg
-rw-r--r--org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/refactoring/RenameRefactoring.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/refactoring/RenameRefactoring.java b/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/refactoring/RenameRefactoring.java
index 68de48f..721206a 100644
--- a/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/refactoring/RenameRefactoring.java
+++ b/org.eclipse.photran.core.vpg/src/org/eclipse/photran/internal/core/refactoring/RenameRefactoring.java
@@ -186,7 +186,7 @@ public class RenameRefactoring extends FortranEditorRefactoring implements IRena
Messages.bind(
Messages.RenameRefactoring_NameConflicts,
conflict.name,
- vpg.getDefinitionFor(conflict.tokenRef));
+ getVPG().getDefinitionFor(conflict.tokenRef));
RefactoringStatusContext context = createContext(conflict.tokenRef); // Highlights problematic definition
status.addError(msg, context);
}