sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefane...@apache.org
Subject svn commit: r1574100 - /sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java
Date Tue, 04 Mar 2014 13:57:53 GMT
Author: stefanegli
Date: Tue Mar  4 13:57:53 2014
New Revision: 1574100

URL: http://svn.apache.org/r1574100
Log:
SLING-3431 : avoid a NPE when in log level DEBUG

Modified:
    sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java

Modified: sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java?rev=1574100&r1=1574099&r2=1574100&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java
(original)
+++ sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java
Tue Mar  4 13:57:53 2014
@@ -191,8 +191,7 @@ public class VotingHandler implements Ev
 
         if (winningVote != null) {
         	if (logger.isDebugEnabled()) {
-	            logger.debug("analyzeVotings: done with vote-handling. there was a winner: "
-	                    + winningVote);
+	            logger.debug("analyzeVotings: done with vote-handling. there was a winner.");
         	}
             return;
         }



Mime
View raw message