summaryrefslogtreecommitdiff
path: root/java/test/Freeze/complex/Complex/ObjectFactoryI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Freeze/complex/Complex/ObjectFactoryI.java')
-rw-r--r--java/test/Freeze/complex/Complex/ObjectFactoryI.java30
1 files changed, 15 insertions, 15 deletions
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
}
}