Skip to content
Snippets Groups Projects
Commit fda88f27 authored by brinn's avatar brinn
Browse files

fix: source code formatting

SVN: 4638
parent d48017a9
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,8 @@ class CompressionWorker implements Runnable ...@@ -94,7 +94,8 @@ class CompressionWorker implements Runnable
} }
Status status = null; Status status = null;
int count = 0; int count = 0;
do { do
{
try try
{ {
status = compressor.compress(fileToCompressOrNull); status = compressor.compress(fileToCompressOrNull);
......
...@@ -45,7 +45,8 @@ public class ModifiedShortPrefixToStringStyle extends ToStringStyle ...@@ -45,7 +45,8 @@ public class ModifiedShortPrefixToStringStyle extends ToStringStyle
* <p>Ensure <code>Singleton</ode> after serialization.</p> * <p>Ensure <code>Singleton</ode> after serialization.</p>
* @return the singleton * @return the singleton
*/ */
private Object readResolve() { private Object readResolve()
{
return MODIFIED_SHORT_PREFIX_STYLE; return MODIFIED_SHORT_PREFIX_STYLE;
} }
......
...@@ -136,7 +136,8 @@ public final class FilteredListTest ...@@ -136,7 +136,8 @@ public final class FilteredListTest
} }
@Test @Test
public final void testSubList() { public final void testSubList()
{
List<String> list = createList(); List<String> list = createList();
List<String> subList = list.subList(0, 2); List<String> subList = list.subList(0, 2);
assertEquals(2, subList.size()); assertEquals(2, subList.size());
......
...@@ -52,7 +52,8 @@ public class HeaderLineFilterTest ...@@ -52,7 +52,8 @@ public class HeaderLineFilterTest
if (headerLine == i) if (headerLine == i)
{ {
assert filter.acceptLine("text", i) == false : "Line " + i + " (header line: " + headerLine + ")"; assert filter.acceptLine("text", i) == false : "Line " + i + " (header line: " + headerLine + ")";
} else { } else
{
assert filter.acceptLine("text", i) : "Line " + i + " (header line: " + headerLine + ")"; assert filter.acceptLine("text", i) : "Line " + i + " (header line: " + headerLine + ")";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment