Author: desruisseaux
Date: Thu May 19 17:55:00 2016
New Revision: 1744611
URL: http://svn.apache.org/viewvc?rev=1744611&view=rev
Log:
Fix a wrong logger name. Since that name was used only in tests (not in main
code), it is probably not worth to create a new release candidate for that fix.
Modified:
sis/branches/0.7/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactoryTest.java
Modified:
sis/branches/0.7/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactoryTest.java
URL:
http://svn.apache.org/viewvc/sis/branches/0.7/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactoryTest.java?rev=1744611&r1=1744610&r2=1744611&view=diff
==============================================================================
---
sis/branches/0.7/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactoryTest.java
[UTF-8] (original)
+++
sis/branches/0.7/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactoryTest.java
[UTF-8] Thu May 19 17:55:00 2016
@@ -22,6 +22,7 @@ import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.TimeUnit;
import org.opengis.util.FactoryException;
+import org.apache.sis.internal.system.Loggers;
import org.apache.sis.util.logging.Logging;
import org.apache.sis.test.DependsOn;
import org.apache.sis.test.TestCase;
@@ -169,7 +170,7 @@ public final strictfp class ConcurrentAu
Thread.sleep(TimeUnit.NANOSECONDS.toMillis(waitTime));
int n = 3;
while (factory.isCleanScheduled()) {
- Logging.getLogger("org.geotoolkit.referencing.factory")
+ Logging.getLogger(Loggers.CRS_FACTORY)
.warning("Execution of
ConcurrentAuthorityFactory.disposeExpired() has been delayed.");
Thread.sleep(TIMEOUT);
System.gc();