This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.jcr.webconsole-1.0.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-webconsole.git
commit 0494118639490048670f3d1fa9134211768a4f5b Author: Carsten Ziegeler <cziege...@apache.org> AuthorDate: Mon Jul 28 06:57:14 2014 +0000 3801 : Fields for dynamic references must be volatile git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/webconsole@1613893 13f79535-47bb-0310-9956-ffa450edef68 --- .../webconsole/internal/DescriptorsConfigurationPrinter.java | 2 +- .../webconsole/internal/NamespaceConfigurationPrinter.java | 2 +- .../webconsole/internal/NodeTypeConfigurationPrinter.java | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/sling/jcr/webconsole/internal/DescriptorsConfigurationPrinter.java b/src/main/java/org/apache/sling/jcr/webconsole/internal/DescriptorsConfigurationPrinter.java index a79ad3b..aca9344 100644 --- a/src/main/java/org/apache/sling/jcr/webconsole/internal/DescriptorsConfigurationPrinter.java +++ b/src/main/java/org/apache/sling/jcr/webconsole/internal/DescriptorsConfigurationPrinter.java @@ -43,7 +43,7 @@ public class DescriptorsConfigurationPrinter implements ConfigurationPrinter { @Reference(policy=ReferencePolicy.DYNAMIC) - private SlingRepository slingRepository; + private volatile SlingRepository slingRepository; /** * Get the title of the configuration status page. diff --git a/src/main/java/org/apache/sling/jcr/webconsole/internal/NamespaceConfigurationPrinter.java b/src/main/java/org/apache/sling/jcr/webconsole/internal/NamespaceConfigurationPrinter.java index 2278208..e91e4b4 100644 --- a/src/main/java/org/apache/sling/jcr/webconsole/internal/NamespaceConfigurationPrinter.java +++ b/src/main/java/org/apache/sling/jcr/webconsole/internal/NamespaceConfigurationPrinter.java @@ -49,7 +49,7 @@ public class NamespaceConfigurationPrinter implements ConfigurationPrinter { @Reference(policy=ReferencePolicy.DYNAMIC) - private SlingRepository slingRepository; + private volatile SlingRepository slingRepository; /** * Get the title of the configuration status page. diff --git a/src/main/java/org/apache/sling/jcr/webconsole/internal/NodeTypeConfigurationPrinter.java b/src/main/java/org/apache/sling/jcr/webconsole/internal/NodeTypeConfigurationPrinter.java index 132ebe2..7d40db7 100644 --- a/src/main/java/org/apache/sling/jcr/webconsole/internal/NodeTypeConfigurationPrinter.java +++ b/src/main/java/org/apache/sling/jcr/webconsole/internal/NodeTypeConfigurationPrinter.java @@ -5,9 +5,9 @@ * licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -19,8 +19,8 @@ package org.apache.sling.jcr.webconsole.internal; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; -import java.util.List; import java.util.Comparator; +import java.util.List; import javax.jcr.RepositoryException; import javax.jcr.Session; @@ -56,11 +56,11 @@ import org.apache.sling.jcr.api.SlingRepository; public class NodeTypeConfigurationPrinter implements ModeAwareConfigurationPrinter { @Reference(policy = ReferencePolicy.DYNAMIC) - private SlingRepository slingRepository; + private volatile SlingRepository slingRepository; /** * Get the title of the configuration status page. - * + * * @return the title */ public String getTitle() { @@ -175,7 +175,7 @@ public class NodeTypeConfigurationPrinter implements ModeAwareConfigurationPrint /** * Output a list of node types from the NamespaceRegistry. - * + * * @param pw a PrintWriter */ public void printConfiguration(PrintWriter pw) { -- To stop receiving notification emails like this one, please contact "commits@sling.apache.org" <commits@sling.apache.org>.