summaryrefslogtreecommitdiff
path: root/java/test/Freeze/complex/Complex
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Freeze/complex/Complex')
-rw-r--r--java/test/Freeze/complex/Complex/AddNodeI.java6
-rw-r--r--java/test/Freeze/complex/Complex/MultiplyNodeI.java6
-rw-r--r--java/test/Freeze/complex/Complex/NumberNodeI.java4
-rw-r--r--java/test/Freeze/complex/Complex/ObjectFactoryI.java30
4 files changed, 23 insertions, 23 deletions
diff --git a/java/test/Freeze/complex/Complex/AddNodeI.java b/java/test/Freeze/complex/Complex/AddNodeI.java
index 80f58f00fd5..0345fe740b4 100644
--- a/java/test/Freeze/complex/Complex/AddNodeI.java
+++ b/java/test/Freeze/complex/Complex/AddNodeI.java
@@ -19,13 +19,13 @@ public class AddNodeI extends AddNode
public
AddNodeI(Node left, Node right)
{
- this.left = left;
- this.right = right;
+ this.left = left;
+ this.right = right;
}
public int
calc(Ice.Current current)
{
- return left.calc(current) + right.calc(current);
+ return left.calc(current) + right.calc(current);
}
}
diff --git a/java/test/Freeze/complex/Complex/MultiplyNodeI.java b/java/test/Freeze/complex/Complex/MultiplyNodeI.java
index a69d45a6ae4..2f5ea93a466 100644
--- a/java/test/Freeze/complex/Complex/MultiplyNodeI.java
+++ b/java/test/Freeze/complex/Complex/MultiplyNodeI.java
@@ -19,13 +19,13 @@ public class MultiplyNodeI extends MultiplyNode
public
MultiplyNodeI(Node left, Node right)
{
- this.left = left;
- this.right = right;
+ this.left = left;
+ this.right = right;
}
public int
calc(Ice.Current current)
{
- return left.calc(current) * right.calc(current);
+ return left.calc(current) * right.calc(current);
}
}
diff --git a/java/test/Freeze/complex/Complex/NumberNodeI.java b/java/test/Freeze/complex/Complex/NumberNodeI.java
index 1b0ffd6cd97..4faec76deef 100644
--- a/java/test/Freeze/complex/Complex/NumberNodeI.java
+++ b/java/test/Freeze/complex/Complex/NumberNodeI.java
@@ -19,12 +19,12 @@ public class NumberNodeI extends NumberNode
public
NumberNodeI(int number)
{
- this.number = number;
+ this.number = number;
}
public int
calc(Ice.Current current)
{
- return number;
+ return number;
}
}
diff --git a/java/test/Freeze/complex/Complex/ObjectFactoryI.java b/java/test/Freeze/complex/Complex/ObjectFactoryI.java
index 1684152ee73..32fe08f7c9b 100644
--- a/java/test/Freeze/complex/Complex/ObjectFactoryI.java
+++ b/java/test/Freeze/complex/Complex/ObjectFactoryI.java
@@ -14,27 +14,27 @@ public class ObjectFactoryI extends Ice.LocalObjectImpl implements Ice.ObjectFac
public Ice.Object
create(String type)
{
- if(type.equals("::Complex::MultiplyNode"))
- {
- return new MultiplyNodeI();
- }
- if(type.equals("::Complex::AddNode"))
- {
- return new AddNodeI();
- }
+ if(type.equals("::Complex::MultiplyNode"))
+ {
+ return new MultiplyNodeI();
+ }
+ if(type.equals("::Complex::AddNode"))
+ {
+ return new AddNodeI();
+ }
if(type.equals("::Complex::NumberNode"))
- {
- return new NumberNodeI();
- }
+ {
+ return new NumberNodeI();
+ }
- System.err.println( "create: " + type);
- assert(false);
- return null;
+ System.err.println( "create: " + type);
+ assert(false);
+ return null;
}
public void
destroy()
{
- // Nothing to do
+ // Nothing to do
}
}