diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
commit | abada90e3f84dc703b8ddc9efcbed8a946fadead (patch) | |
tree | 2c6f9dccd510ea97cb927a7bd635422efaae547a /java/test/Ice/operations/MyDerivedClassI.java | |
parent | removing trace message (diff) | |
download | ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2 ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip |
Expanded tabs into spaces
Diffstat (limited to 'java/test/Ice/operations/MyDerivedClassI.java')
-rw-r--r-- | java/test/Ice/operations/MyDerivedClassI.java | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/java/test/Ice/operations/MyDerivedClassI.java b/java/test/Ice/operations/MyDerivedClassI.java index e92b7f04536..7e44f5be060 100644 --- a/java/test/Ice/operations/MyDerivedClassI.java +++ b/java/test/Ice/operations/MyDerivedClassI.java @@ -39,23 +39,23 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public void opSleep(int duration, Ice.Current current) { - while(true) - { - try - { - Thread.currentThread().sleep(duration); - break; - } - catch(java.lang.InterruptedException ex) - { - } - } + while(true) + { + try + { + Thread.currentThread().sleep(duration); + break; + } + catch(java.lang.InterruptedException ex) + { + } + } } public boolean opBool(boolean p1, boolean p2, - Ice.BooleanHolder p3, - Ice.Current current) + Ice.BooleanHolder p3, + Ice.Current current) { p3.value = p1; return p2; @@ -63,7 +63,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public boolean[] opBoolS(boolean[] p1, boolean[] p2, - Test.BoolSHolder p3, + Test.BoolSHolder p3, Ice.Current current) { p3.value = new boolean[p1.length + p2.length]; @@ -80,7 +80,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public boolean[][] opBoolSS(boolean[][] p1, boolean[][] p2, - Test.BoolSSHolder p3, + Test.BoolSSHolder p3, Ice.Current current) { p3.value = new boolean[p1.length + p2.length][]; @@ -97,8 +97,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public byte opByte(byte p1, byte p2, - Ice.ByteHolder p3, - Ice.Current current) + Ice.ByteHolder p3, + Ice.Current current) { p3.value = (byte)(p1 ^ p2); return p1; @@ -106,7 +106,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opByteBoolD(java.util.Map p1, java.util.Map p2, - Test.ByteBoolDHolder p3, + Test.ByteBoolDHolder p3, Ice.Current current) { p3.value = p1; @@ -118,8 +118,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public byte[] opByteS(byte[] p1, byte[] p2, - Test.ByteSHolder p3, - Ice.Current current) + Test.ByteSHolder p3, + Ice.Current current) { p3.value = new byte[p1.length]; for(int i = 0; i < p1.length; i++) @@ -135,7 +135,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public byte[][] opByteSS(byte[][] p1, byte[][] p2, - Test.ByteSSHolder p3, + Test.ByteSSHolder p3, Ice.Current current) { p3.value = new byte[p1.length][]; @@ -152,8 +152,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public double opFloatDouble(float p1, double p2, - Ice.FloatHolder p3, Ice.DoubleHolder p4, - Ice.Current current) + Ice.FloatHolder p3, Ice.DoubleHolder p4, + Ice.Current current) { p3.value = p1; p4.value = p2; @@ -162,8 +162,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public double[] opFloatDoubleS(float[] p1, double[] p2, - Test.FloatSHolder p3, Test.DoubleSHolder p4, - Ice.Current current) + Test.FloatSHolder p3, Test.DoubleSHolder p4, + Ice.Current current) { p3.value = p1; p4.value = new double[p2.length]; @@ -182,8 +182,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public double[][] opFloatDoubleSS(float[][] p1, double[][] p2, - Test.FloatSSHolder p3, Test.DoubleSSHolder p4, - Ice.Current current) + Test.FloatSSHolder p3, Test.DoubleSSHolder p4, + Ice.Current current) { p3.value = p1; p4.value = new double[p2.length][]; @@ -199,7 +199,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opLongFloatD(java.util.Map p1, java.util.Map p2, - Test.LongFloatDHolder p3, + Test.LongFloatDHolder p3, Ice.Current current) { p3.value = p1; @@ -211,19 +211,19 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public Test.MyClassPrx opMyClass(Test.MyClassPrx p1, - Test.MyClassPrxHolder p2, Test.MyClassPrxHolder p3, - Ice.Current current) + Test.MyClassPrxHolder p2, Test.MyClassPrxHolder p3, + Ice.Current current) { p2.value = p1; p3.value = Test.MyClassPrxHelper.uncheckedCast( - _adapter.createProxy(_adapter.getCommunicator().stringToIdentity("noSuchIdentity"))); + _adapter.createProxy(_adapter.getCommunicator().stringToIdentity("noSuchIdentity"))); return Test.MyClassPrxHelper.uncheckedCast(_adapter.createProxy(_identity)); } public Test.MyEnum opMyEnum(Test.MyEnum p1, - Test.MyEnumHolder p2, - Ice.Current current) + Test.MyEnumHolder p2, + Ice.Current current) { p2.value = p1; return Test.MyEnum.enum3; @@ -231,7 +231,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opShortIntD(java.util.Map p1, java.util.Map p2, - Test.ShortIntDHolder p3, + Test.ShortIntDHolder p3, Ice.Current current) { p3.value = p1; @@ -243,8 +243,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public long opShortIntLong(short p1, int p2, long p3, - Ice.ShortHolder p4, Ice.IntHolder p5, Ice.LongHolder p6, - Ice.Current current) + Ice.ShortHolder p4, Ice.IntHolder p5, Ice.LongHolder p6, + Ice.Current current) { p4.value = p1; p5.value = p2; @@ -254,7 +254,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public long[] opShortIntLongS(short[] p1, int[] p2, long[] p3, - Test.ShortSHolder p4, Test.IntSHolder p5, Test.LongSHolder p6, + Test.ShortSHolder p4, Test.IntSHolder p5, Test.LongSHolder p6, Ice.Current current) { p4.value = p1; @@ -272,7 +272,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public long[][] opShortIntLongSS(short[][] p1, int[][] p2, long[][] p3, Test.ShortSSHolder p4, Test.IntSSHolder p5, Test.LongSSHolder p6, - Ice.Current current) + Ice.Current current) { p4.value = p1; p5.value = new int[p2.length][]; @@ -288,8 +288,8 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public String opString(String p1, String p2, - Ice.StringHolder p3, - Ice.Current current) + Ice.StringHolder p3, + Ice.Current current) { p3.value = p2 + " " + p1; return p1 + " " + p2; @@ -298,7 +298,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opStringMyEnumD(java.util.Map p1, java.util.Map p2, Test.StringMyEnumDHolder p3, - Ice.Current current) + Ice.Current current) { p3.value = p1; java.util.Map r = new java.util.HashMap(); @@ -310,11 +310,11 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public int[] opIntS(int[] s, Ice.Current current) { - int[] r = new int[s.length]; - for(int i = 0; i < r.length; ++i) - { - r[i] = -s[i]; - } + int[] r = new int[s.length]; + for(int i = 0; i < r.length; ++i) + { + r[i] = -s[i]; + } return r; } @@ -326,23 +326,23 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opContext(Ice.Current current) { - return current.ctx; + return current.ctx; } public void opDoubleMarshaling(double p1, double[] p2, Ice.Current current) { - double d = 1278312346.0 / 13.0; - test(p1 == d); - for(int i = 0; i < p2.length; ++i) - { - test(p2[i] == d); - } + double d = 1278312346.0 / 13.0; + test(p1 == d); + for(int i = 0; i < p2.length; ++i) + { + test(p2[i] == d); + } } public String[] opStringS(String[] p1, String[] p2, - Test.StringSHolder p3, + Test.StringSHolder p3, Ice.Current current) { p3.value = new String[p1.length + p2.length]; @@ -359,7 +359,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public String[][] opStringSS(String[][] p1, String[][] p2, - Test.StringSSHolder p3, + Test.StringSSHolder p3, Ice.Current current) { p3.value = new String[p1.length + p2.length][]; @@ -376,7 +376,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public String[][][] opStringSSS(String[][][] p1, String[][][] p2, - Test.StringSSSHolder p3, + Test.StringSSSHolder p3, Ice.Current current) { p3.value = new String[p1.length + p2.length][][]; @@ -394,7 +394,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public java.util.Map opStringStringD(java.util.Map p1, java.util.Map p2, Test.StringStringDHolder p3, - Ice.Current current) + Ice.Current current) { p3.value = p1; java.util.Map r = new java.util.HashMap(); @@ -405,7 +405,7 @@ public final class MyDerivedClassI extends Test.MyDerivedClass public Test.Structure opStruct(Test.Structure p1, Test.Structure p2, - Test.StructureHolder p3, + Test.StructureHolder p3, Ice.Current current) { p3.value = p1; |