Author: akazakov
Date: 2010-07-29 11:51:15 -0400 (Thu, 29 Jul 2010)
New Revision: 23800
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
Log:
https://jira.jboss.org/browse/JBIDE-6742 Corrected some CDI validation messages.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-07-29
15:36:33 UTC (rev 23799)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-07-29
15:51:15 UTC (rev 23800)
@@ -35,16 +35,16 @@
MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_PRODUCER_FIELD=Producer field specifies multiple scope
type annotations
MISSING_SCOPE_WHEN_THERE_IS_NO_DEFAULT_SCOPE=Bean does not explicitly declare a scope
when there is no default scope
STEREOTYPE_DECLARES_MORE_THAN_ONE_SCOPE=Stereotype declares more than one scope
-ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_PUBLIC_FIELD=Managed bean with a public field
declares any scope other than @Dependent
-ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_GENERIC_TYPE=Managed bean with a parameterized bean
class declares any scope other than @Dependent
-ILLEGAL_SCOPE_FOR_SESSION_BEAN_WITH_GENERIC_TYPE=Session bean with a parameterized bean
class declares any scope other than @Dependent
+ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_PUBLIC_FIELD=Managed bean with a with a public field
must be @Dependent scoped
+ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_GENERIC_TYPE=Managed bean with a parameterized bean
class must be @Dependent scoped
+ILLEGAL_SCOPE_FOR_SESSION_BEAN_WITH_GENERIC_TYPE=Session bean with a parameterized bean
class must be @Dependent scoped
ILLEGAL_SCOPE_FOR_STATELESS_SESSION_BEAN=Session bean specifies an illegal scope. A
stateless session bean must belong to the @Dependent pseudo-scope.
ILLEGAL_SCOPE_FOR_SINGLETON_SESSION_BEAN=Session bean specifies an illegal scope. A
singleton bean must belong to either the @ApplicationScoped scope or to the @Dependent
pseudo-scope.
-ILLEGAL_SCOPE_FOR_PRODUCER_METHOD=Producer method with a parameterized return type with a
type variable declares any scope other than @Dependent
-ILLEGAL_SCOPE_FOR_PRODUCER_FIELD=Producer field with a parameterized type with a type
variable declares any scope other than @Dependent
+ILLEGAL_SCOPE_FOR_PRODUCER_METHOD=Producer method with a parameterized return type with a
type variable must be @Dependent scoped
+ILLEGAL_SCOPE_FOR_PRODUCER_FIELD=Producer field with a parameterized type with a type
variable declares must be @Dependent scoped
ILLEGAL_SCOPE_WHEN_TYPE_INJECTIONPOINT_IS_INJECTED=Bean that declares any scope other
than @Dependent has an injection point of type InjectionPoint and qualifier @Default
-ILLEGAL_SCOPE_FOR_INTERCEPTOR=Interceptor has any scope other than @Dependent
-ILLEGAL_SCOPE_FOR_DECORATOR=Decorator has any scope other than @Dependent
+ILLEGAL_SCOPE_FOR_INTERCEPTOR=Interceptor must be @Dependent scoped
+ILLEGAL_SCOPE_FOR_DECORATOR=Decorator must be @Dependent scoped
PRODUCER_ANNOTATED_INJECT=Producer method or field is annotated @Inject
PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED_DISPOSES=Producer method has a parameter annotated
@Disposes