[weld-commits] Weld SVN: r6637 - in extensions/trunk: src/main/java/org/jboss/weld/extensions and 1 other directories.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Tue Jul 13 11:57:55 EDT 2010
Author: pete.muir at jboss.org
Date: 2010-07-13 11:57:54 -0400 (Tue, 13 Jul 2010)
New Revision: 6637
Added:
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/
Removed:
extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/
Modified:
extensions/trunk/pom.xml
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AlternativeLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AnyLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ApplicationScopedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ConversationScopedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DecoratorLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DefaultLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DelegateLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DependentLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DisposesLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/InjectLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ModelLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NamedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NewLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NonbindingLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NormalScopeLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ObservesLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ProducesLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/RequestScopedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SessionScopedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SpecializesLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/StereotypeLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/TypedLiteral.java
Log:
minor
Modified: extensions/trunk/pom.xml
===================================================================
--- extensions/trunk/pom.xml 2010-07-13 15:51:03 UTC (rev 6636)
+++ extensions/trunk/pom.xml 2010-07-13 15:57:54 UTC (rev 6637)
@@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
- <version>10</version>
+ <version>12</version>
</parent>
<name>Weld Extensions</name>
@@ -88,12 +88,6 @@
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- <version>${weld.api.version}</version>
- </dependency>
-
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-api-bom</artifactId>
@@ -104,14 +98,6 @@
<dependency>
<groupId>org.jboss.weld</groupId>
- <artifactId>weld-api-bom</artifactId>
- <version>${weld.api.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.weld</groupId>
<artifactId>weld-core-bom</artifactId>
<version>${weld.core.version}</version>
<type>pom</type>
@@ -154,16 +140,11 @@
<dependencies>
<dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- </dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </dependency>
<dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </dependency>
-
- <dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
Copied: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal (from rev 6632, extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral)
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AlternativeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AlternativeLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AlternativeLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Alternative;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -6775559481124288825L;
- public static final AlternativeLiteral INSTANCE = new AlternativeLiteral();
+ public static final Alternative INSTANCE = new AlternativeLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AnyLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AnyLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/AnyLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Any;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -6858406907917381581L;
- public static final AnyLiteral INSTANCE = new AnyLiteral();
+ public static final Any INSTANCE = new AnyLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ApplicationScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ApplicationScopedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ApplicationScopedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 771021755170432223L;
- public static final ApplicationScopedLiteral INSTANCE = new ApplicationScopedLiteral();
+ public static final ApplicationScoped INSTANCE = new ApplicationScopedLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ConversationScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ConversationScopedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ConversationScopedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.ConversationScoped;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 5401967809387903628L;
- public static final ConversationScopedLiteral INSTANCE = new ConversationScopedLiteral();
+ public static final ConversationScoped INSTANCE = new ConversationScopedLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DecoratorLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DecoratorLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DecoratorLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.decorator.Decorator;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -1928591929455611481L;
- public static final DecoratorLiteral INSTANCE = new DecoratorLiteral();
+ public static final Decorator INSTANCE = new DecoratorLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DefaultLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DefaultLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DefaultLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Default;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -8137340248362361317L;
- public static final DefaultLiteral INSTANCE = new DefaultLiteral();
+ public static final Default INSTANCE = new DefaultLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DelegateLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DelegateLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DelegateLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.decorator.Delegate;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -533933286126296678L;
- public static final DelegateLiteral INSTANCE = new DelegateLiteral();
+ public static final Delegate INSTANCE = new DelegateLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DependentLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DependentLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DependentLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.Dependent;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 5192230580203842740L;
- public static final DependentLiteral INSTANCE = new DependentLiteral();
+ public static final Dependent INSTANCE = new DependentLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DisposesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DisposesLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/DisposesLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Disposes;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 1L;
- public static final DisposesLiteral INSTANCE = new DisposesLiteral();
+ public static final Disposes INSTANCE = new DisposesLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/InjectLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/InjectLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/InjectLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.util.AnnotationLiteral;
import javax.inject.Inject;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -5547537708250537848L;
- public static final DisposesLiteral INSTANCE = new DisposesLiteral();
+ public static final Inject INSTANCE = new InjectLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ModelLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ModelLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ModelLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Model;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -5353345766867563825L;
- public static final DisposesLiteral INSTANCE = new DisposesLiteral();
+ public static final Model INSTANCE = new ModelLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NamedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NamedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NamedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.util.AnnotationLiteral;
import javax.inject.Named;
@@ -41,9 +41,4 @@
return value;
}
- public static NamedLiteral of(String value)
- {
- return new NamedLiteral(value);
- }
-
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NewLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NewLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NewLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.New;
import javax.enterprise.util.AnnotationLiteral;
@@ -40,9 +40,4 @@
return value;
}
- public static NewLiteral of(Class<?> value)
- {
- return new NewLiteral(value);
- }
-
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NonbindingLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NonbindingLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NonbindingLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.util.AnnotationLiteral;
import javax.enterprise.util.Nonbinding;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -7557062245283879531L;
- public static final NonbindingLiteral INSTANCE = new NonbindingLiteral();
+ public static final Nonbinding INSTANCE = new NonbindingLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NormalScopeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NormalScopeLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/NormalScopeLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.NormalScope;
import javax.enterprise.util.AnnotationLiteral;
@@ -31,7 +31,7 @@
private final boolean passivating;
- public NormalScopeLiteral(boolean passivating)
+ private NormalScopeLiteral(boolean passivating)
{
this.passivating = passivating;
}
@@ -41,16 +41,7 @@
return passivating;
}
- public static NormalScopeLiteral of(boolean passivating)
- {
- if (passivating)
- {
- return PASSIVATING_INSTANCE;
- }
- return NON_PASSIVATING_INSTANCE;
- }
+ public final static NormalScope PASSIVATING_INSTANCE = new NormalScopeLiteral(true);
- private final static NormalScopeLiteral PASSIVATING_INSTANCE = new NormalScopeLiteral(true);
-
- private final static NormalScopeLiteral NON_PASSIVATING_INSTANCE = new NormalScopeLiteral(false);
+ public final static NormalScope NON_PASSIVATING_INSTANCE = new NormalScopeLiteral(false);
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ObservesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ObservesLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ObservesLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.event.Observes;
import javax.enterprise.event.Reception;
@@ -48,9 +48,4 @@
return notifyObserver;
}
- public static ObservesLiteral of(TransactionPhase during, Reception notifyObserver)
- {
- return new ObservesLiteral(during, notifyObserver);
- }
-
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ProducesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ProducesLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/ProducesLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Produces;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -469820656132063897L;
- public static final ProducesLiteral INSTANCE = new ProducesLiteral();
+ public static final Produces INSTANCE = new ProducesLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/RequestScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/RequestScopedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/RequestScopedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -5604316881255438090L;
- public static final RequestScopedLiteral INSTANCE = new RequestScopedLiteral();
+ public static final RequestScoped INSTANCE = new RequestScopedLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SessionScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SessionScopedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SessionScopedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 6685344750969701818L;
- public static final SessionScopedLiteral INSTANCE = new SessionScopedLiteral();
+ public static final SessionScoped INSTANCE = new SessionScopedLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SpecializesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SpecializesLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/SpecializesLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Specializes;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = -4047999133165777219L;
- public static final SpecializesLiteral INSTANCE = new SpecializesLiteral();
+ public static final Specializes INSTANCE = new SpecializesLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/StereotypeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/StereotypeLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/StereotypeLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Stereotype;
import javax.enterprise.util.AnnotationLiteral;
@@ -28,5 +28,5 @@
{
private static final long serialVersionUID = 6496685599507738216L;
- public static final StereotypeLiteral INSTANCE = new StereotypeLiteral();
+ public static final Stereotype INSTANCE = new StereotypeLiteral();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/TypedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/TypedLiteral.java 2010-07-13 13:20:36 UTC (rev 6632)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/literal/TypedLiteral.java 2010-07-13 15:57:54 UTC (rev 6637)
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.jboss.weld.extensions.annotationliteral;
+package org.jboss.weld.extensions.literal;
import javax.enterprise.inject.Typed;
import javax.enterprise.util.AnnotationLiteral;
@@ -39,10 +39,4 @@
{
return value;
}
-
- public static TypedLiteral of(Class<?>[] value)
- {
- return new TypedLiteral(value);
- }
-
}
More information about the weld-commits
mailing list