onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1413686 - in /incubator/onami/trunk/logging: commons-logging/src/main/java/org/apache/onami/logging/acl/ commons-logging/src/test/java/org/apache/onami/logging/acl/ core/src/main/java/org/apache/onami/logging/core/ core/src/test/java/org/a...
Date Mon, 26 Nov 2012 15:46:26 GMT
Author: simonetripodi
Date: Mon Nov 26 15:46:23 2012
New Revision: 1413686

URL: http://svn.apache.org/viewvc?rev=1413686&view=rev
Log:
[logging] organized imports, resolved compilation problems

Modified:
    incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggerInjector.java
    incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggingModule.java
    incubator/onami/trunk/logging/commons-logging/src/test/java/org/apache/onami/logging/acl/ACLLoggingTestCase.java
    incubator/onami/trunk/logging/core/src/main/java/org/apache/onami/logging/core/AbstractLoggerInjector.java
    incubator/onami/trunk/logging/core/src/test/java/org/apache/onami/logging/core/ConcurrentInjectionTest.java
    incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggerInjector.java
    incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggingModule.java
    incubator/onami/trunk/logging/juli/src/test/java/org/apache/onami/logging/juli/JuliLoggingTestCase.java
    incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4JLoggerInjector.java
    incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4jLoggingModule.java
    incubator/onami/trunk/logging/log4j/src/test/java/org/apache/onami/logging/log4j/Log4jLoggingTestCase.java
    incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggerInjector.java
    incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggingModule.java
    incubator/onami/trunk/logging/slf4j/src/test/java/org/apache/onami/logging/slf4j/Slf4jLoggingTestCase.java
    incubator/onami/trunk/logging/testframework/src/main/java/org/apache/onami/logging/testfw/AbstractLoggerInectionTestCase.java

Modified: incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggerInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggerInjector.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggerInjector.java
(original)
+++ incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggerInjector.java
Mon Nov 26 15:46:23 2012
@@ -21,7 +21,7 @@ import java.lang.reflect.Field;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.nnsoft.guice.sli4j.core.AbstractLoggerInjector;
+import org.apache.onami.logging.core.AbstractLoggerInjector;
 
 /**
  * {@code Apache Commons Logging} logger injector implementation.

Modified: incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggingModule.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggingModule.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggingModule.java
(original)
+++ incubator/onami/trunk/logging/commons-logging/src/main/java/org/apache/onami/logging/acl/ACLLoggingModule.java
Mon Nov 26 15:46:23 2012
@@ -20,7 +20,7 @@ package org.apache.onami.logging.acl;
 import static com.google.inject.matcher.Matchers.any;
 
 import org.apache.commons.logging.Log;
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
 
 import com.google.inject.TypeLiteral;
 import com.google.inject.matcher.Matcher;

Modified: incubator/onami/trunk/logging/commons-logging/src/test/java/org/apache/onami/logging/acl/ACLLoggingTestCase.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/commons-logging/src/test/java/org/apache/onami/logging/acl/ACLLoggingTestCase.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/commons-logging/src/test/java/org/apache/onami/logging/acl/ACLLoggingTestCase.java
(original)
+++ incubator/onami/trunk/logging/commons-logging/src/test/java/org/apache/onami/logging/acl/ACLLoggingTestCase.java
Mon Nov 26 15:46:23 2012
@@ -18,9 +18,8 @@ package org.apache.onami.logging.acl;
  */
 
 import org.apache.commons.logging.Log;
-import org.apache.onami.logging.acl.ACLLoggingModule;
-import org.nnsoft.guice.sli4j.core.InjectLogger;
-import org.nnsoft.guice.sli4j.testfw.AbstractLoggerInectionTestCase;
+import org.apache.onami.logging.core.InjectLogger;
+import org.apache.onami.logging.testfw.AbstractLoggerInectionTestCase;
 import org.testng.annotations.BeforeTest;
 import org.testng.annotations.Test;
 

Modified: incubator/onami/trunk/logging/core/src/main/java/org/apache/onami/logging/core/AbstractLoggerInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/core/src/main/java/org/apache/onami/logging/core/AbstractLoggerInjector.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/core/src/main/java/org/apache/onami/logging/core/AbstractLoggerInjector.java
(original)
+++ incubator/onami/trunk/logging/core/src/main/java/org/apache/onami/logging/core/AbstractLoggerInjector.java
Mon Nov 26 15:46:23 2012
@@ -17,13 +17,13 @@ package org.apache.onami.logging.core;
  * limitations under the License.
  */
 
-import com.google.inject.MembersInjector;
-import com.google.inject.ProvisionException;
+import static java.lang.String.format;
+import static java.lang.reflect.Modifier.isFinal;
 
 import java.lang.reflect.Field;
 
-import static java.lang.String.format;
-import static java.lang.reflect.Modifier.isFinal;
+import com.google.inject.MembersInjector;
+import com.google.inject.ProvisionException;
 
 /**
  * The abstract Logger injector implementation, takes care of injecting the

Modified: incubator/onami/trunk/logging/core/src/test/java/org/apache/onami/logging/core/ConcurrentInjectionTest.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/core/src/test/java/org/apache/onami/logging/core/ConcurrentInjectionTest.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/core/src/test/java/org/apache/onami/logging/core/ConcurrentInjectionTest.java
(original)
+++ incubator/onami/trunk/logging/core/src/test/java/org/apache/onami/logging/core/ConcurrentInjectionTest.java
Mon Nov 26 15:46:23 2012
@@ -1,19 +1,16 @@
 package org.apache.onami.logging.core;
 
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-import com.google.inject.TypeLiteral;
-import com.google.inject.matcher.Matchers;
+import static org.testng.Assert.assertNotNull;
+
+import java.lang.reflect.Field;
 
-import org.apache.onami.logging.core.AbstractLoggerInjector;
-import org.apache.onami.logging.core.AbstractLoggingModule;
-import org.apache.onami.logging.core.InjectLogger;
 import org.testng.annotations.BeforeTest;
 import org.testng.annotations.Test;
 
-import java.lang.reflect.Field;
-
-import static org.testng.Assert.assertNotNull;
+import com.google.inject.Guice;
+import com.google.inject.Injector;
+import com.google.inject.TypeLiteral;
+import com.google.inject.matcher.Matchers;
 
 public class ConcurrentInjectionTest {
     private Injector injector;

Modified: incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggerInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggerInjector.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggerInjector.java
(original)
+++ incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggerInjector.java
Mon Nov 26 15:46:23 2012
@@ -20,7 +20,7 @@ package org.apache.onami.logging.juli;
 import java.lang.reflect.Field;
 import java.util.logging.Logger;
 
-import org.nnsoft.guice.sli4j.core.AbstractLoggerInjector;
+import org.apache.onami.logging.core.AbstractLoggerInjector;
 
 /**
  * {@code java.util.logging.Logger} logger injector implementation.

Modified: incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggingModule.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggingModule.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggingModule.java
(original)
+++ incubator/onami/trunk/logging/juli/src/main/java/org/apache/onami/logging/juli/JuliLoggingModule.java
Mon Nov 26 15:46:23 2012
@@ -21,7 +21,7 @@ import static com.google.inject.matcher.
 
 import java.util.logging.Logger;
 
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
 
 import com.google.inject.TypeLiteral;
 import com.google.inject.matcher.Matcher;

Modified: incubator/onami/trunk/logging/juli/src/test/java/org/apache/onami/logging/juli/JuliLoggingTestCase.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/juli/src/test/java/org/apache/onami/logging/juli/JuliLoggingTestCase.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/juli/src/test/java/org/apache/onami/logging/juli/JuliLoggingTestCase.java
(original)
+++ incubator/onami/trunk/logging/juli/src/test/java/org/apache/onami/logging/juli/JuliLoggingTestCase.java
Mon Nov 26 15:46:23 2012
@@ -19,9 +19,8 @@ package org.apache.onami.logging.juli;
 
 import java.util.logging.Logger;
 
-import org.apache.onami.logging.juli.JuliLoggingModule;
-import org.nnsoft.guice.sli4j.core.InjectLogger;
-import org.nnsoft.guice.sli4j.testfw.AbstractLoggerInectionTestCase;
+import org.apache.onami.logging.core.InjectLogger;
+import org.apache.onami.logging.testfw.AbstractLoggerInectionTestCase;
 import org.testng.annotations.BeforeTest;
 import org.testng.annotations.Test;
 

Modified: incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4JLoggerInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4JLoggerInjector.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4JLoggerInjector.java
(original)
+++ incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4JLoggerInjector.java
Mon Nov 26 15:46:23 2012
@@ -20,7 +20,7 @@ package org.apache.onami.logging.log4j;
 import java.lang.reflect.Field;
 
 import org.apache.log4j.Logger;
-import org.nnsoft.guice.sli4j.core.AbstractLoggerInjector;
+import org.apache.onami.logging.core.AbstractLoggerInjector;
 
 /**
  * {@code Apache Log4j} logger injector implementation.

Modified: incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4jLoggingModule.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4jLoggingModule.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4jLoggingModule.java
(original)
+++ incubator/onami/trunk/logging/log4j/src/main/java/org/apache/onami/logging/log4j/Log4jLoggingModule.java
Mon Nov 26 15:46:23 2012
@@ -20,7 +20,7 @@ package org.apache.onami.logging.log4j;
 import static com.google.inject.matcher.Matchers.any;
 
 import org.apache.log4j.Logger;
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
 
 import com.google.inject.TypeLiteral;
 import com.google.inject.matcher.Matcher;

Modified: incubator/onami/trunk/logging/log4j/src/test/java/org/apache/onami/logging/log4j/Log4jLoggingTestCase.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/log4j/src/test/java/org/apache/onami/logging/log4j/Log4jLoggingTestCase.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/log4j/src/test/java/org/apache/onami/logging/log4j/Log4jLoggingTestCase.java
(original)
+++ incubator/onami/trunk/logging/log4j/src/test/java/org/apache/onami/logging/log4j/Log4jLoggingTestCase.java
Mon Nov 26 15:46:23 2012
@@ -21,9 +21,8 @@ import static com.google.inject.TypeLite
 import static com.google.inject.matcher.Matchers.only;
 
 import org.apache.log4j.Logger;
-import org.apache.onami.logging.log4j.Log4jLoggingModule;
-import org.nnsoft.guice.sli4j.core.InjectLogger;
-import org.nnsoft.guice.sli4j.testfw.AbstractLoggerInectionTestCase;
+import org.apache.onami.logging.core.InjectLogger;
+import org.apache.onami.logging.testfw.AbstractLoggerInectionTestCase;
 import org.testng.annotations.BeforeTest;
 import org.testng.annotations.Test;
 

Modified: incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggerInjector.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggerInjector.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggerInjector.java
(original)
+++ incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggerInjector.java
Mon Nov 26 15:46:23 2012
@@ -19,7 +19,7 @@ package org.apache.onami.logging.slf4j;
 
 import java.lang.reflect.Field;
 
-import org.nnsoft.guice.sli4j.core.AbstractLoggerInjector;
+import org.apache.onami.logging.core.AbstractLoggerInjector;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggingModule.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggingModule.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggingModule.java
(original)
+++ incubator/onami/trunk/logging/slf4j/src/main/java/org/apache/onami/logging/slf4j/Slf4jLoggingModule.java
Mon Nov 26 15:46:23 2012
@@ -19,7 +19,7 @@ package org.apache.onami.logging.slf4j;
 
 import static com.google.inject.matcher.Matchers.any;
 
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
 import org.slf4j.Logger;
 
 import com.google.inject.TypeLiteral;

Modified: incubator/onami/trunk/logging/slf4j/src/test/java/org/apache/onami/logging/slf4j/Slf4jLoggingTestCase.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/slf4j/src/test/java/org/apache/onami/logging/slf4j/Slf4jLoggingTestCase.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/slf4j/src/test/java/org/apache/onami/logging/slf4j/Slf4jLoggingTestCase.java
(original)
+++ incubator/onami/trunk/logging/slf4j/src/test/java/org/apache/onami/logging/slf4j/Slf4jLoggingTestCase.java
Mon Nov 26 15:46:23 2012
@@ -17,9 +17,8 @@ package org.apache.onami.logging.slf4j;
  * limitations under the License.
  */
 
-import org.apache.onami.logging.slf4j.Slf4jLoggingModule;
-import org.nnsoft.guice.sli4j.core.InjectLogger;
-import org.nnsoft.guice.sli4j.testfw.AbstractLoggerInectionTestCase;
+import org.apache.onami.logging.core.InjectLogger;
+import org.apache.onami.logging.testfw.AbstractLoggerInectionTestCase;
 import org.slf4j.Logger;
 import org.testng.annotations.BeforeTest;
 import org.testng.annotations.Test;

Modified: incubator/onami/trunk/logging/testframework/src/main/java/org/apache/onami/logging/testfw/AbstractLoggerInectionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/testframework/src/main/java/org/apache/onami/logging/testfw/AbstractLoggerInectionTestCase.java?rev=1413686&r1=1413685&r2=1413686&view=diff
==============================================================================
--- incubator/onami/trunk/logging/testframework/src/main/java/org/apache/onami/logging/testfw/AbstractLoggerInectionTestCase.java
(original)
+++ incubator/onami/trunk/logging/testframework/src/main/java/org/apache/onami/logging/testfw/AbstractLoggerInectionTestCase.java
Mon Nov 26 15:46:23 2012
@@ -19,7 +19,7 @@ package org.apache.onami.logging.testfw;
 
 import static com.google.inject.Guice.createInjector;
 
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
 
 import com.google.inject.AbstractModule;
 import com.google.inject.Inject;



Mime
View raw message