Author: pete.muir(a)jboss.org
Date: 2009-03-31 19:28:02 -0400 (Tue, 31 Mar 2009)
New Revision: 2288
Added:
extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/
extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java
Removed:
extensions/trunk/logger/src/main/java/org/jboss/webbeans/annotation/
extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java
Modified:
extensions/trunk/logger/src/test/java/org/jboss/webbeans/test/AbstractLogTest.java
Log:
minor
Copied: extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation (from rev
2255, extensions/trunk/logger/src/main/java/org/jboss/webbeans/annotation)
Deleted: extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java
===================================================================
---
extensions/trunk/logger/src/main/java/org/jboss/webbeans/annotation/Logger.java 2009-03-29
19:35:48 UTC (rev 2255)
+++
extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java 2009-03-31
23:28:02 UTC (rev 2288)
@@ -1,32 +0,0 @@
-package org.jboss.webbeans.annotation;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.annotation.NonBinding;
-import javax.inject.BindingType;
-
-/**
- * Injects a log
- *
- * @author Gavin King
- */
-@Target({METHOD, FIELD, PARAMETER, TYPE})
-@Retention(RUNTIME)
-@Documented
-@BindingType
-public @interface Logger
-{
- /**
- * @return the log category
- */
- @NonBinding
- String value() default "";
-}
Copied: extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java
(from rev 2287,
extensions/trunk/logger/src/main/java/org/jboss/webbeans/annotation/Logger.java)
===================================================================
--- extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java
(rev 0)
+++
extensions/trunk/logger/src/test/java/org/jboss/webbeans/annotation/Logger.java 2009-03-31
23:28:02 UTC (rev 2288)
@@ -0,0 +1,32 @@
+package org.jboss.webbeans.annotation;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.annotation.NonBinding;
+import javax.inject.BindingType;
+
+/**
+ * Injects a log
+ *
+ * @author Gavin King
+ */
+@Target({METHOD, FIELD, PARAMETER, TYPE})
+@Retention(RUNTIME)
+@Documented
+@BindingType
+public @interface Logger
+{
+ /**
+ * @return the log category
+ */
+ @NonBinding
+ String value() default "";
+}
Modified:
extensions/trunk/logger/src/test/java/org/jboss/webbeans/test/AbstractLogTest.java
===================================================================
---
extensions/trunk/logger/src/test/java/org/jboss/webbeans/test/AbstractLogTest.java 2009-03-31
21:49:34 UTC (rev 2287)
+++
extensions/trunk/logger/src/test/java/org/jboss/webbeans/test/AbstractLogTest.java 2009-03-31
23:28:02 UTC (rev 2288)
@@ -17,9 +17,10 @@
package org.jboss.webbeans.test;
+import javax.inject.manager.Manager;
+
import org.jboss.testharness.AbstractTest;
import org.jboss.webbeans.CurrentManager;
-import org.jboss.webbeans.ManagerImpl;
import org.testng.ITestContext;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
@@ -33,7 +34,7 @@
*/
public abstract class AbstractLogTest extends AbstractTest
{
- private ManagerImpl manager;
+ private Manager manager;
@Override
@BeforeSuite
@@ -59,7 +60,7 @@
manager = null;
}
- public ManagerImpl getCurrentManager()
+ public Manager getCurrentManager()
{
return manager;
}
Show replies by date