Author: schultz Date: Wed Jun 6 20:44:00 2012 New Revision: 1347109 URL: http://svn.apache.org/viewvc?rev=1347109&view=rev Log: Whitespace and curly-brace police.
Modified: tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java Modified: tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java?rev=1347109&r1=1347108&r2=1347109&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java (original) +++ tomcat/trunk/test/org/apache/naming/resources/TestNamingContext.java Wed Jun 6 20:44:00 2012 @@ -95,8 +95,7 @@ public class TestNamingContext extends T } @Test - public void testAliases() throws Exception - { + public void testAliases() throws Exception { // Some sample text String foxText = "The quick brown fox jumps over the lazy dog"; String loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."; @@ -112,7 +111,7 @@ public class TestNamingContext extends T File docBase = new File(tmpDir, "docBase"); File alternate1 = new File(tmpDir, "alternate1"); File alternate2 = new File(tmpDir, "alternate2"); - + if(!tmpDir.mkdirs()) throw new IOException("Could not create temp directory " + tmpDir); if(!docBase.mkdir()) @@ -142,7 +141,7 @@ public class TestNamingContext extends T Assert.assertNotNull(file); Assert.assertTrue(file instanceof Resource); - + byte[] buffer = new byte[4096]; Resource res = (Resource)file; @@ -156,7 +155,7 @@ public class TestNamingContext extends T Assert.assertNotNull(file); Assert.assertTrue(file instanceof Resource); - + res = (Resource)file; len = res.streamContent().read(buffer); contents = new String(buffer, 0, len, "UTF-8"); @@ -186,7 +185,7 @@ public class TestNamingContext extends T Assert.assertNotNull(file); Assert.assertTrue(file instanceof Resource); - + res = (Resource)file; len = res.streamContent().read(buffer); contents = new String(buffer, 0, len, "UTF-8"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org