Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2016-10-06 06:25:06 -0400
committerEike Stepper2016-10-06 06:25:06 -0400
commit2ffd84347afa6f75edf142245c2ca618750b6889 (patch)
treeff9080cdcae918b351042cab14de4c1481680cca /plugins/org.eclipse.net4j.tests/src
parentf4016b630a3ce191d51ed4cd1bf5fe93b5027864 (diff)
downloadcdo-2ffd84347afa6f75edf142245c2ca618750b6889.tar.gz
cdo-2ffd84347afa6f75edf142245c2ca618750b6889.tar.xz
cdo-2ffd84347afa6f75edf142245c2ca618750b6889.zip
[Releng] Source Clean-Up for all projects
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/UTFTest.java24
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/cache/SensitiveProtoTest.java4
2 files changed, 14 insertions, 14 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/UTFTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/UTFTest.java
index c8c546e3e4..54820c825d 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/UTFTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/UTFTest.java
@@ -46,20 +46,20 @@ public class UTFTest extends AbstractOMTest
public void testUTF8_ThreeOctets() throws Exception
{
final int MAX = UNSIGNED_SHORT_MAX >> 1;
- StringBuilder builder = new StringBuilder();
- for (int i = 0; i < MAX; i++)
- {
- builder.append("\u6771"); //$NON-NLS-1$
- }
+ StringBuilder builder = new StringBuilder();
+ for (int i = 0; i < MAX; i++)
+ {
+ builder.append("\u6771"); //$NON-NLS-1$
+ }
- String str = builder.toString();
- assertEquals(MAX, str.length());
+ String str = builder.toString();
+ assertEquals(MAX, str.length());
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- DataOutputStream dos = new DataOutputStream(baos);
- dos.writeUTF(str);
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ DataOutputStream dos = new DataOutputStream(baos);
+ dos.writeUTF(str);
- String received = baos.toString("UTF-8"); //$NON-NLS-1$
- assertEquals(str, received);
+ String received = baos.toString("UTF-8"); //$NON-NLS-1$
+ assertEquals(str, received);
}
}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/cache/SensitiveProtoTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/cache/SensitiveProtoTest.java
index a1cc93a43c..49eb737f7f 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/cache/SensitiveProtoTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/cache/SensitiveProtoTest.java
@@ -26,10 +26,10 @@ public class SensitiveProtoTest extends AbstractOMTest
public void testSensitiveCacheWithEvictionPolicy() throws Exception
{
ConcurrentMap<Integer, KeyedAndValuedWeakReference<Integer, String>> map //
- = new ConcurrentHashMap<Integer, KeyedAndValuedWeakReference<Integer, String>>();
+ = new ConcurrentHashMap<Integer, KeyedAndValuedWeakReference<Integer, String>>();
ReferenceQueue<String> queue //
- = new ReferenceQueue<String>();
+ = new ReferenceQueue<String>();
for (int i = 0; i < 20; i++)
{

Back to the top