[xwiki-notifications] r6619 - xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload

tmortagne (SVN) notifications at xwiki.org
Fri Jan 4 09:47:01 CET 2008


Author: tmortagne
Date: 2008-01-04 09:47:00 +0100 (Fri, 04 Jan 2008)
New Revision: 6619

Modified:
   xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java
Log:
fix broken checkstyle

Modified: xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java
===================================================================
--- xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java	2008-01-03 20:27:22 UTC (rev 6618)
+++ xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java	2008-01-04 08:47:00 UTC (rev 6619)
@@ -152,8 +152,9 @@
      */
     public void endRendering(XWikiContext context)
     {
-        // we used to call cleanFileList here but we should not anymore as endRendering is called to many times
-        // and empties the file upload list. This is handled by XWikiAction and XWikiPortlet which clean up lists in a finally block
+        // we used to call cleanFileList here but we should not anymore as endRendering is called to
+        // many times and empties the file upload list. This is handled by XWikiAction and
+        // XWikiPortlet which clean up lists in a finally block
     }
 
     /**
@@ -216,7 +217,7 @@
         LOG.debug("Loading uploaded files");
         // If we already have a file list then loadFileList was already called
         // Continuing would empty the list.. We need to stop.
-        if (context.get(FILE_LIST_KEY)!=null) {
+        if (context.get(FILE_LIST_KEY) != null) {
             LOG.debug("Called loadFileList twice");
             return;
         }



More information about the notifications mailing list