logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1483264 - /logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java
Date Thu, 16 May 2013 09:10:25 GMT
Author: grobmeier
Date: Thu May 16 09:10:24 2013
New Revision: 1483264

URL: http://svn.apache.org/r1483264
Log:
removed unnecessary string cast

Modified:
    logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java

Modified: logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java?rev=1483264&r1=1483263&r2=1483264&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java (original)
+++ logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/DBAppender.java Thu
May 16 09:10:24 2013
@@ -301,7 +301,7 @@ public class DBAppender extends Appender
               
               for (Iterator i = propertiesKeys.iterator(); i.hasNext();) {
                   String key = (String) i.next();
-                  String value = (String) event.getProperty(key);
+                  String value = event.getProperty(key);
                   
                   //LogLog.info("id " + eventId + ", key " + key + ", value " + value);
                   insertPropertiesStatement.setInt(1, eventId);



Mime
View raw message