Author: tmortagne Date: 2008-01-04 10:28:11 +0100 (Fri, 04 Jan 2008) New Revision: 6620
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java Log: fix broken checkstyle Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java 2008-01-04 08:47:00 UTC (rev 6619) +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/fileupload/FileUploadPlugin.java 2008-01-04 09:28:11 UTC (rev 6620) @@ -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; } _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications