Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2007-05-18 18:54:23 -0400
committeratikhomirov2007-05-18 18:54:23 -0400
commit2da01a097abb91efb54ca69d1dc463d88f21d1c6 (patch)
tree4bb15773c0445bc4ebae7ea0a41ddb8290f27ee5
parent02e80a3abb59a4a6dfe7545cfdebf8dc4df4e9c9 (diff)
downloadorg.eclipse.gmf-tooling-2da01a097abb91efb54ca69d1dc463d88f21d1c6.tar.gz
org.eclipse.gmf-tooling-2da01a097abb91efb54ca69d1dc463d88f21d1c6.tar.xz
org.eclipse.gmf-tooling-2da01a097abb91efb54ca69d1dc463d88f21d1c6.zip
minor beautify
-rw-r--r--plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/GeneratorBase.java3
-rw-r--r--plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/XpandTextEmitter.java4
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/GeneratorBase.java b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/GeneratorBase.java
index cc7f20eb9..5dadb52f5 100644
--- a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/GeneratorBase.java
+++ b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/GeneratorBase.java
@@ -186,8 +186,7 @@ public abstract class GeneratorBase implements Runnable {
* @see #initializeEditorProject(String, IPath, List)
*/
protected final void initializeEditorProject(String pluginId, IPath projectLocation) throws UnexpectedBehaviourException, InterruptedException {
- final List<IProject> referencedProjects = Collections.emptyList();
- initializeEditorProject(pluginId, projectLocation, referencedProjects);
+ initializeEditorProject(pluginId, projectLocation, Collections.<IProject>emptyList());
}
/**
diff --git a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/XpandTextEmitter.java b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/XpandTextEmitter.java
index bd697cb4f..d3ae65ad7 100644
--- a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/XpandTextEmitter.java
+++ b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/XpandTextEmitter.java
@@ -14,7 +14,6 @@ package org.eclipse.gmf.internal.common.codegen;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.gmf.common.codegen.ImportAssistant;
@@ -74,7 +73,6 @@ public class XpandTextEmitter implements TextEmitter {
private XpandExecutionContext createContext(StringBuilder result) {
final BufferOutput output = new BufferOutput(result);
- final List<Variable> globals = Collections.emptyList();
- return ContextFactory.createXpandContext(myResourceManager, output, globals, myContext);
+ return ContextFactory.createXpandContext(myResourceManager, output, Collections.<Variable>emptyList(), myContext);
}
} \ No newline at end of file

Back to the top