You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/09/08 00:39:04 UTC

[25/32] git commit: Fix accessibility issue in unit test.

Fix accessibility issue in unit test.

  - Due to the Loader -> LoaderUtil migration, cannot access static inner class from test anymore.
  - Made test class public.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0a9d9337
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0a9d9337
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0a9d9337

Branch: refs/heads/master
Commit: 0a9d9337e5c5d6b461e5e4f0dcb539fa0fd93c4d
Parents: 81b1d8b
Author: Matt Sicker <ma...@apache.org>
Authored: Sun Sep 7 16:26:53 2014 -0500
Committer: Matt Sicker <ma...@apache.org>
Committed: Sun Sep 7 16:26:53 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/util/ClockFactoryTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0a9d9337/log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java
index 2f97e6e..1b69a16 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java
@@ -64,7 +64,7 @@ public class ClockFactoryTest {
         assertSame(CoarseCachedClock.class, ClockFactory.getClock().getClass());
     }
 
-    static class MyClock implements Clock {
+    public static class MyClock implements Clock {
         @Override
         public long currentTimeMillis() {
             return 42;