summaryrefslogtreecommitdiff
path: root/java/test/IceXML/encoding/Client.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
commit59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch)
treec3ed292df270f11157decb83827d9af4144db52d /java/test/IceXML/encoding/Client.java
parentfile run.py was initially added on branch location. (diff)
downloadice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip
removed spaces after keywords
Diffstat (limited to 'java/test/IceXML/encoding/Client.java')
-rw-r--r--java/test/IceXML/encoding/Client.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/java/test/IceXML/encoding/Client.java b/java/test/IceXML/encoding/Client.java
index 51a5923b232..e174b59b0e2 100644
--- a/java/test/IceXML/encoding/Client.java
+++ b/java/test/IceXML/encoding/Client.java
@@ -19,7 +19,7 @@ public class Client
private static void
test(boolean b)
{
- if (!b)
+ if(!b)
{
throw new RuntimeException("Test failed!");
}
@@ -41,7 +41,7 @@ public class Client
"hello <<>>world",
"hello &&''\"\"<<>>world",
};
- for (int i = 0; i < strings.length; ++i)
+ for(int i = 0; i < strings.length; ++i)
{
java.io.StringWriter sw = new java.io.StringWriter();
java.io.PrintWriter pw = new java.io.PrintWriter(sw);
@@ -191,7 +191,7 @@ public class Client
Ice.Stream istream = new IceXML.StreamI(communicator, sr);
Test.Struct4[] seqout = Test.Struct4SeqHelper.ice_unmarshal(element, istream);
test(seqout.length == seqin.length);
- for (int i = 0; i < seqin.length; i++)
+ for(int i = 0; i < seqin.length; i++)
{
test(seqin[i].equals(seqout[i]));
}
@@ -234,7 +234,7 @@ public class Client
java.util.Map dictout = Test.StringStruct4DictHelper.ice_unmarshal(element, istream);
test(dictout.size() == dictin.size());
java.util.Iterator p = dictin.entrySet().iterator();
- while (p.hasNext())
+ while(p.hasNext())
{
java.util.Map.Entry e = (java.util.Map.Entry)p.next();
Test.Struct4 val = (Test.Struct4)dictout.get(e.getKey());
@@ -292,7 +292,7 @@ public class Client
java.util.Map dictout = Test.Struct3Struct4DictHelper.ice_unmarshal(element, istream);
test(dictout.size() == dictin.size());
java.util.Iterator p = dictin.entrySet().iterator();
- while (p.hasNext())
+ while(p.hasNext())
{
java.util.Map.Entry e = (java.util.Map.Entry)p.next();
Test.Struct4 val = (Test.Struct4)dictout.get(e.getKey());
@@ -343,7 +343,7 @@ public class Client
Ice.Stream istream = new IceXML.StreamI(communicator, sr);
Test.Color[] seqout = Test.ColorSeqHelper.ice_unmarshal(element, istream);
test(seqout.length == seqin.length);
- for (int i = 0; i < seqin.length; i++)
+ for(int i = 0; i < seqin.length; i++)
{
test(seqin[i] == seqout[i]);
}
@@ -553,7 +553,7 @@ public class Client
// If the test is run out of the CWD then adjust the location of
// Test.xsd appropriately.
//
- if (args.length > 0)
+ if(args.length > 0)
{
int pos = header.indexOf("Test.xsd");
assert(pos != -1);
@@ -636,7 +636,7 @@ public class Client
status = 1;
}
- if (communicator != null)
+ if(communicator != null)
{
try
{