You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2014/02/21 08:28:30 UTC
[06/11] git commit: Change the initial capacity of the arraylist for
stringResourceLoaders to 6.
Change the initial capacity of the arraylist for stringResourceLoaders to 6.
Wicket adds 5 in ResourceSettings' constructor. Leave 1 for the user application needs.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/a4196262
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/a4196262
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/a4196262
Branch: refs/heads/sandbox/component-queueing-2
Commit: a419626216c8e4e3c3dbc17a7cb7515d48103934
Parents: 294f1eb
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Feb 19 15:01:03 2014 +0200
Committer: Igor Vaynberg <ig...@gmail.com>
Committed: Thu Feb 20 23:24:05 2014 -0800
----------------------------------------------------------------------
.../src/main/java/org/apache/wicket/settings/ResourceSettings.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/a4196262/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java b/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java
index 3b6b440..be2b272 100644
--- a/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java
+++ b/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java
@@ -140,7 +140,7 @@ public class ResourceSettings implements IPropertiesFactoryContext
private IFileCleaner fileCleaner;
/** Chain of string resource loaders to use */
- private final List<IStringResourceLoader> stringResourceLoaders = Generics.newArrayList(4);
+ private final List<IStringResourceLoader> stringResourceLoaders = Generics.newArrayList(6);
/** Flags used to determine how to behave if resources are not found */
private boolean throwExceptionOnMissingResource = true;