Java 7 diamonds
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/841e9a4b Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/841e9a4b Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/841e9a4b Branch: refs/heads/5299-ajax-strategy Commit: 841e9a4ba13d449b301682d80c69ddc34652ea72 Parents: 148ce52 Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Authored: Mon Aug 12 16:50:58 2013 +0300 Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Committed: Mon Aug 12 16:50:58 2013 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java | 2 +- .../java/org/apache/wicket/markup/head/ResourceAggregator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/841e9a4b/wicket-core/src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java b/wicket-core/src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java index b7c51de..668e3af 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/AbstractAjaxResponse.java @@ -152,7 +152,7 @@ public abstract class AbstractAjaxResponse // execute the dom ready javascripts as first javascripts // after component replacement - List<CharSequence> evaluationScripts = new ArrayList<CharSequence>(); + List<CharSequence> evaluationScripts = new ArrayList<>(); evaluationScripts.addAll(domReadyJavaScripts); evaluationScripts.addAll(appendJavaScripts); writeNormalEvaluations(response, evaluationScripts); http://git-wip-us.apache.org/repos/asf/wicket/blob/841e9a4b/wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java b/wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java index 143d466..9573e41 100644 --- a/wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java +++ b/wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java @@ -261,7 +261,7 @@ public class ResourceAggregator extends DecoratingHeaderResponse } else { - Set<HeaderItem> depsDone = new LinkedHashSet<HeaderItem>(); + Set<HeaderItem> depsDone = new LinkedHashSet<>(); depsDone.add(item); recordHeaderItem(item, depsDone); }