Author: toad
Date: 2008-05-07 12:54:20 +0000 (Wed, 07 May 2008)
New Revision: 19817

Modified:
   trunk/freenet/src/freenet/clients/http/QueueToadlet.java
Log:
Key before persistence. Persistence is rarely used.

Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java    2008-05-07 
12:49:54 UTC (rev 19816)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java    2008-05-07 
12:54:20 UTC (rev 19817)
@@ -759,7 +759,7 @@
                        if (advancedModeEnabled) {
                                
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDownload, new int[] { LIST_IDENTIFIER, LIST_PRIORITY, LIST_SIZE, 
LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_FILENAME, LIST_KEY }, 
priorityClasses, advancedModeEnabled, false));
                        } else {
-                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDownload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, 
LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY }, priorityClasses, 
advancedModeEnabled, false));
+                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDownload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, 
LIST_PROGRESS, LIST_KEY, LIST_PERSISTENCE }, priorityClasses, 
advancedModeEnabled, false));
                        }
                }

@@ -770,7 +770,7 @@
                        if (advancedModeEnabled) {
                                
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedUpload, new int[] { LIST_IDENTIFIER, LIST_PRIORITY, LIST_SIZE, 
LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_FILENAME, LIST_KEY }, 
priorityClasses, advancedModeEnabled, true));
                        } else {
-                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, 
LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY }, priorityClasses, 
advancedModeEnabled, true));
+                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, 
LIST_PROGRESS, LIST_KEY, LIST_PERSISTENCE }, priorityClasses, 
advancedModeEnabled, true));
                        }
                }

@@ -781,7 +781,7 @@
                        if (advancedModeEnabled) {
                                
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDirUpload, new int[] { LIST_IDENTIFIER, LIST_FILES, LIST_PRIORITY, 
LIST_TOTAL_SIZE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY }, priorityClasses, 
advancedModeEnabled, true));
                        } else {
-                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDirUpload, new int[] { LIST_FILES, LIST_TOTAL_SIZE, LIST_PROGRESS, 
LIST_PERSISTENCE, LIST_KEY }, priorityClasses, advancedModeEnabled, true));
+                               
uncompletedContent.addChild(createRequestTable(pageMaker, ctx, 
uncompletedDirUpload, new int[] { LIST_FILES, LIST_TOTAL_SIZE, LIST_PROGRESS, 
LIST_KEY, LIST_PERSISTENCE }, priorityClasses, advancedModeEnabled, true));
                        }
                }



Reply via email to