activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r881277 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
Date Tue, 17 Nov 2009 13:31:20 GMT
Author: dejanb
Date: Tue Nov 17 13:31:20 2009
New Revision: 881277

URL: http://svn.apache.org/viewvc?rev=881277&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2499 - minor improvement - case sensitivity

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java?rev=881277&r1=881276&r2=881277&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
Tue Nov 17 13:31:20 2009
@@ -282,7 +282,7 @@
         if (value instanceof ActiveMQDestination) {
             ActiveMQDestination destination = (ActiveMQDestination)value;
             buffer.append(destination.getQualifiedName());
-        } else if (key.toString().contains("password")){
+        } else if (key.toString().toLowerCase().contains("password")){
             buffer.append("*****");           
         } else {
             buffer.append(value);



Mime
View raw message