Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-10-31 19:26:28 +0000
committeratikhomirov2006-10-31 19:26:28 +0000
commit7a28eaf42602b4711d2f1e511ca94297e170f2fc (patch)
tree9d8cec1c9f7a0d8ecf18d8fdfed332a160a51488
parent845ea0d4c1dedc9a5661a422e802404093d2661c (diff)
downloadorg.eclipse.gmf-tooling-7a28eaf42602b4711d2f1e511ca94297e170f2fc.tar.gz
org.eclipse.gmf-tooling-7a28eaf42602b4711d2f1e511ca94297e170f2fc.tar.xz
org.eclipse.gmf-tooling-7a28eaf42602b4711d2f1e511ca94297e170f2fc.zip
variable names to reflect their kind
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/figures/AbstractFigureGeneratorSetup.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/figures/AbstractFigureGeneratorSetup.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/figures/AbstractFigureGeneratorSetup.java
index a80520edc..3d2a2e360 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/figures/AbstractFigureGeneratorSetup.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/figures/AbstractFigureGeneratorSetup.java
@@ -40,11 +40,11 @@ public abstract class AbstractFigureGeneratorSetup implements TestConfiguration
private PolylineConnection myEcoreContainmentRef;
- private Figure myFigure1;
+ private Figure myCustomFigure;
- private Figure myFigure2;
+ private Figure mySimpleShape;
- private Figure myFigure3;
+ private Figure myComplexShape;
private Config myConfig;
@@ -112,25 +112,25 @@ public abstract class AbstractFigureGeneratorSetup implements TestConfiguration
}
public final Figure getCustomFigure() {
- if (myFigure1 == null) {
- myFigure1 = createFigure1();
+ if (myCustomFigure == null) {
+ myCustomFigure = createFigure1();
}
- return myFigure1;
+ return myCustomFigure;
}
public final Figure getSimpleShape() {
- if (myFigure2 == null) {
- myFigure2 = createFigure2();
+ if (mySimpleShape == null) {
+ mySimpleShape = createFigure2();
}
- return myFigure2;
+ return mySimpleShape;
}
public final Figure getComplexShape() {
- if (myFigure3 == null) {
- myFigure3 = createFigure3();
+ if (myComplexShape == null) {
+ myComplexShape = createFigure3();
}
- return myFigure3;
+ return myComplexShape;
}
protected static Figure createFigure1() {

Back to the top