commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1802451 - in /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test: JackrabbitMain.java WebdavProviderTestCase.java
Date Thu, 20 Jul 2017 05:59:21 GMT
Author: ggregory
Date: Thu Jul 20 05:59:21 2017
New Revision: 1802451

URL: http://svn.apache.org/viewvc?rev=1802451&view=rev
Log:
Always use blocks.

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java?rev=1802451&r1=1802450&r2=1802451&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/JackrabbitMain.java
Thu Jul 20 05:59:21 2017
@@ -179,8 +179,9 @@ class JackrabbitMain
         webapp.setClassLoader(JackrabbitMain.class.getClassLoader());
         // we use a modified web.xml which has some servlets remove (which produce random
empty directories)
         URL res = getResource("/jcrweb.xml");
-        if (res != null)
+        if (res != null) {
             webapp.setDescriptor(res.toString());
+        }
         webapp.setExtractWAR(false);
         webapp.setTempDirectory(tmp);
 

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java?rev=1802451&r1=1802450&r2=1802451&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/webdav/test/WebdavProviderTestCase.java
Thu Jul 20 05:59:21 2017
@@ -91,8 +91,9 @@ public class WebdavProviderTestCase exte
             throw new IOException("Could not create temp directory: " + tempFile.getAbsolutePath());
         }
 
-        if (DEBUG)
+        if (DEBUG) {
             System.out.println("Working in " + tempFile);
+        }
 
         return tempFile;
     }



Mime
View raw message