Permalink
Browse files

HV-583 Upgrading versions of jboss-logging and jboss-logging-processor

  • Loading branch information...
1 parent cf495a4 commit 461d68137b8d35a31fd97ef45a1e26ab66a08e8c @hferentschik hferentschik committed May 22, 2012
@@ -34,6 +34,7 @@
import static org.hibernate.validator.internal.util.CollectionHelper.newArrayList;
import static org.hibernate.validator.internal.util.ConcurrentReferenceHashMap.Option.IDENTITY_COMPARISONS;
import static org.hibernate.validator.internal.util.ConcurrentReferenceHashMap.ReferenceType.SOFT;
+import static org.hibernate.validator.internal.util.logging.Messages.MESSAGES;
/**
* This manager is in charge of providing all constraint related meta data
@@ -118,8 +119,7 @@ public BeanMetaDataManager(ConstraintHelper constraintHelper,
@SuppressWarnings("unchecked")
public <T> BeanMetaData<T> getBeanMetaData(Class<T> beanClass) {
- // TODO - Avoid usages of Messages class until https://issues.jboss.org/browse/LOGTOOL-45 is resolved (HF)
- Contracts.assertNotNull( beanClass, "The bean type cannot be null." );
+ Contracts.assertNotNull( beanClass, MESSAGES.beanTypeCannotBeNull() );
BeanMetaData<T> beanMetaData = (BeanMetaData<T>) beanMetaDataCache.get( beanClass );
@@ -29,7 +29,7 @@
*/
Messages MESSAGES = org.jboss.logging.Messages.getBundle( Messages.class );
- @Message(value = "must not be null.")
+ @Message(value = "must not be null.", format = Message.Format.NO_FORMAT)
String mustNotBeNull();
@Message(value = "%s must not be null.")
@@ -41,34 +41,35 @@
@Message(value = "The parameter \"%s\" must not be empty.")
String parameterMustNotBeEmpty(String parameterName);
- @Message(value = "The bean type cannot be null.")
+ @Message(value = "The bean type cannot be null.", format = Message.Format.NO_FORMAT)
String beanTypeCannotBeNull();
- @Message(value = "null is not allowed as property path.")
+ @Message(value = "null is not allowed as property path.", format = Message.Format.NO_FORMAT)
String propertyPathCannotBeNull();
- @Message(value = "The property name must not be empty.")
+ @Message(value = "The property name must not be empty.", format = Message.Format.NO_FORMAT)
String propertyNameMustNotBeEmpty();
- @Message(value = "null passed as group name.")
+ @Message(value = "null passed as group name.", format = Message.Format.NO_FORMAT)
String groupMustNotBeNull();
- @Message(value = "The bean type must not be null when creating a constraint mapping.")
+ @Message(value = "The bean type must not be null when creating a constraint mapping.",
+ format = Message.Format.NO_FORMAT)
String beanTypeMustNotBeNull();
- @Message(value = "The method name must not be null.")
+ @Message(value = "The method name must not be null.", format = Message.Format.NO_FORMAT)
String methodNameMustNotBeNull();
- @Message(value = "The object to be validated must not be null.")
+ @Message(value = "The object to be validated must not be null.", format = Message.Format.NO_FORMAT)
String validatedObjectMustNotBeNull();
- @Message(value = "The method to be validated must not be null.")
+ @Message(value = "The method to be validated must not be null.", format = Message.Format.NO_FORMAT)
String validatedMethodMustNotBeNull();
- @Message(value = "The class cannot be null.")
+ @Message(value = "The class cannot be null.", format = Message.Format.NO_FORMAT)
String classCannotBeNull();
- @Message(value = "Class is null.")
+ @Message(value = "Class is null.", format = Message.Format.NO_FORMAT)
String classIsNull();
@Message(value = "No JSR 223 script engine found for language \"%s\".")
View
@@ -157,7 +157,7 @@
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
- <version>3.1.0.CR2</version>
+ <version>3.1.1.GA</version>
</dependency>
</dependencies>
</dependencyManagement>
@@ -404,7 +404,7 @@
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-processor</artifactId>
- <version>1.0.1.Final</version>
+ <version>1.0.3.Final</version>
</dependency>
</dependencies>
</plugin>

0 comments on commit 461d681

Please sign in to comment.