You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by gm...@apache.org on 2011/01/21 06:49:53 UTC

svn commit: r1061644 - in /cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils: JAXRSUtils.java Messages.properties

Author: gmazza
Date: Fri Jan 21 05:49:52 2011
New Revision: 1061644

URL: http://svn.apache.org/viewvc?rev=1061644&view=rev
Log:
Fix for CXF-3260 - missing message in resource bundle.

Modified:
    cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
    cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/Messages.properties

Modified: cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java?rev=1061644&r1=1061643&r2=1061644&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java (original)
+++ cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java Fri Jan 21 05:49:52 2011
@@ -246,7 +246,7 @@ public final class JAXRSUtils {
                                                                 path, 
                                                                 cri.getURITemplate().getValue()).toString());
             } else {
-                LOG.fine(new org.apache.cxf.common.i18n.Message("NO_CRI_MATCH", 
+                LOG.fine(new org.apache.cxf.common.i18n.Message("CRI_NO_MATCH", 
                                                                 BUNDLE, 
                                                                 path,
                                                                 cri.getServiceClass().getName()).toString());

Modified: cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/Messages.properties
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/Messages.properties?rev=1061644&r1=1061643&r2=1061644&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/Messages.properties (original)
+++ cxf/branches/2.3.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/Messages.properties Fri Jan 21 05:49:52 2011
@@ -37,9 +37,11 @@ START_OPER_MATCH=Trying to select a reso
 START_CRI_MATCH=Trying to select a resource class {0}, request path : {1}
 OPER_SELECTED_POSSIBLY=Resource operation {0} may get selected
 OPER_SELECTED=Resource operation {0} on the resource class {1} has been selected
+OPER_NO_MATCH=No method match, method name : {0}, request path : {1}, method @Path : {2}, HTTP Method : {3}, method HTTP Method : {4}, ContentType : {5}, method @Consumes : {6}, Accept : {7}, method @Produces : {8}.
 CRI_SELECTED_POSSIBLY=Resource class {0} may get selected, request path : {0}, resource class @Path : {1}
 CRI_SELECTED=Resource class {0} has been selected, request path : {0}, resource class @Path : {1}
-OPER_NO_MATCH=No method match, method name : {0}, request path : {1}, method @Path : {2}, HTTP Method : {3}, method HTTP Method : {4}, ContentType : {5}, method @Consumes : {6}, Accept : {7}, method @Produces : {8}.
+CRI_NO_MATCH=No resource class match for {1}, request path : {0}
 MULTTIPART_ID_NOT_FOUND=No multipart with content id {0} found, request content type : {1}
 WRONG_FORM_MEDIA_TYPE=An application/x-www-form-urlencoded form request is expected but the request media type is {0}. Consider removing @FormParam annotations.
-UNSUPPORTED_ENCODING=Unsupported encoding : {0}, defaulting to {1}    
\ No newline at end of file
+UNSUPPORTED_ENCODING=Unsupported encoding : {0}, defaulting to {1}
+    
\ No newline at end of file