qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject [1/2] qpid-broker-j git commit: QPID-8264: [Broker-J] Fix ClassCastException reported on creation and update of VirtualHostUserOrConnectionLogInclusionRule
Date Fri, 07 Dec 2018 11:38:15 GMT
Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 8f3f9b1c2 -> 938dc4d73


QPID-8264: [Broker-J] Fix ClassCastException reported on creation and update of VirtualHostUserOrConnectionLogInclusionRule


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/11ca9722
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/11ca9722
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/11ca9722

Branch: refs/heads/master
Commit: 11ca9722c04118172f139915a4867b49c61e345d
Parents: 8f3f9b1
Author: Alex Rudyy <orudyy@apache.org>
Authored: Fri Dec 7 11:36:47 2018 +0000
Committer: Alex Rudyy <orudyy@apache.org>
Committed: Fri Dec 7 11:36:47 2018 +0000

----------------------------------------------------------------------
 .../VirtualHostUserOrConnectionLogInclusionRuleImpl.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/11ca9722/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/VirtualHostUserOrConnectionLogInclusionRuleImpl.java
----------------------------------------------------------------------
diff --git a/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/VirtualHostUserOrConnectionLogInclusionRuleImpl.java
b/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/VirtualHostUserOrConnectionLogInclusionRuleImpl.java
index 60db2ff..745b52e 100644
--- a/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/VirtualHostUserOrConnectionLogInclusionRuleImpl.java
+++ b/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/VirtualHostUserOrConnectionLogInclusionRuleImpl.java
@@ -24,10 +24,10 @@ import java.util.Map;
 import java.util.Set;
 
 import org.apache.qpid.server.configuration.IllegalConfigurationException;
-import org.apache.qpid.server.model.BrokerLogger;
 import org.apache.qpid.server.model.ConfiguredObject;
 import org.apache.qpid.server.model.ManagedAttributeField;
 import org.apache.qpid.server.model.ManagedObjectFactoryConstructor;
+import org.apache.qpid.server.model.VirtualHostLogger;
 
 class VirtualHostUserOrConnectionLogInclusionRuleImpl
         extends AbstractPredicateLogInclusionRule<VirtualHostUserOrConnectionLogInclusionRuleImpl>
@@ -45,7 +45,7 @@ class VirtualHostUserOrConnectionLogInclusionRuleImpl
 
     @ManagedObjectFactoryConstructor
     protected VirtualHostUserOrConnectionLogInclusionRuleImpl(final Map<String, Object>
attributes,
-                                                              BrokerLogger<?> logger)
+                                                              final VirtualHostLogger<?>
logger)
     {
         super(logger, attributes);
     }
@@ -54,8 +54,8 @@ class VirtualHostUserOrConnectionLogInclusionRuleImpl
     protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String>
changedAttributes)
     {
         super.validateChange(proxyForValidation, changedAttributes);
-        BrokerUserOrConnectionLogInclusionRule proxy =
-                (BrokerUserOrConnectionLogInclusionRule) proxyForValidation;
+        VirtualHostUserOrConnectionLogInclusionRule proxy =
+                (VirtualHostUserOrConnectionLogInclusionRule) proxyForValidation;
         if (changedAttributes.contains(LOGGER_NAME) &&
             ((getLoggerName() != null && !getLoggerName().equals(proxy.getLoggerName()))
||
              (getLoggerName() == null && proxy.getLoggerName() != null)))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message