logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1459963 - /logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Date Fri, 22 Mar 2013 20:07:00 GMT
Author: ggregory
Date: Fri Mar 22 20:07:00 2013
New Revision: 1459963

URL: http://svn.apache.org/r1459963
Log:
Fix some generics warnings.

Modified:
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java

Modified: logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java?rev=1459963&r1=1459962&r2=1459963&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Fri Mar 22 20:07:00 2013
@@ -69,7 +69,7 @@ public class FlumePersistentManager exte
 
     private static final String DEFAULT_DATA_DIR = ".log4j/flumeData";
 
-    private static ManagerFactory factory = new BDBManagerFactory();
+    private static BDBManagerFactory factory = new BDBManagerFactory();
 
     private Database database;
 
@@ -134,7 +134,7 @@ public class FlumePersistentManager exte
         }
         sb.append("]");
         sb.append(" ").append(dataDirectory);
-        return (FlumePersistentManager) getManager(sb.toString(), factory, new FactoryData(name,
agents, batchSize,
+        return getManager(sb.toString(), factory, new FactoryData(name, agents, batchSize,
             reconnectionDelay, dataDir, properties));
     }
 



Mime
View raw message