cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1336737 - /cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java
Date Thu, 10 May 2012 15:04:19 GMT
Author: sergeyb
Date: Thu May 10 15:04:18 2012
New Revision: 1336737

URL: http://svn.apache.org/viewvc?rev=1336737&view=rev
Log:
[CXF-4305] Updating the error message

Modified:
    cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java

Modified: cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java?rev=1336737&r1=1336736&r2=1336737&view=diff
==============================================================================
--- cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java
(original)
+++ cxf/trunk/rt/rs/extensions/search/src/main/java/org/apache/cxf/jaxrs/ext/search/SearchContextImpl.java
Thu May 10 15:04:18 2012
@@ -44,7 +44,7 @@ public class SearchContextImpl implement
     public <T> SearchCondition<T> getCondition(Class<T> cls) {
         
         if (InjectionUtils.isPrimitive(cls)) {
-            String errorMessage = "The condition type can not be a primitive type"; 
+            String errorMessage = "Primitive condition types are not supported"; 
             LOG.warning(errorMessage);
             throw new IllegalArgumentException(errorMessage);
         }



Mime
View raw message