logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwilli...@apache.org
Subject svn commit: r1505259 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java
Date Sun, 21 Jul 2013 03:56:02 GMT
Author: nickwilliams
Date: Sun Jul 21 03:56:02 2013
New Revision: 1505259

URL: http://svn.apache.org/r1505259
Log:
Correcting typo

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java?rev=1505259&r1=1505258&r2=1505259&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractJpaAppenderTest.java
Sun Jul 21 03:56:02 2013
@@ -63,7 +63,7 @@ public abstract class AbstractJpaAppende
             final Map<String, Appender<?>> list = context.getConfiguration().getAppenders();
             final Appender<?> appender = list.get("databaseAppender");
             assertNotNull("The appender should not be null.", appender);
-            assertTrue("The appender should be a JDBCAppender.", appender instanceof JPAAppender);
+            assertTrue("The appender should be a JPAAppender.", appender instanceof JPAAppender);
             ((JPAAppender) appender).getManager().release();
         } finally {
             System.clearProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
@@ -223,7 +223,7 @@ public abstract class AbstractJpaAppende
                     ".testPerformanceOfAppenderWith10000EventsUsingBasicEntity");
             logger.info("This is a warm-up message.");
 
-            System.out.println("Starting a performance test for JDBC Appender for " + this.databaseType
+ ".");
+            System.out.println("Starting a performance test for JPA Appender for " + this.databaseType
+ ".");
 
             long start = System.nanoTime();
 



Mime
View raw message