cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r729863 - in /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs: JAXRSServerFactoryBean.java model/URITemplate.java provider/ProviderFactory.java
Date Mon, 29 Dec 2008 11:10:43 GMT
Author: sergeyb
Date: Mon Dec 29 03:10:43 2008
New Revision: 729863

URL: http://svn.apache.org/viewvc?rev=729863&view=rev
Log:
JAXRS : fixing typos

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java?rev=729863&r1=729862&r2=729863&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
Mon Dec 29 03:10:43 2008
@@ -99,7 +99,7 @@
             if (entityProviders != null) {
                 ProviderFactory.getInstance(getAddress()).setUserProviders(entityProviders);

             }
-            ProviderFactory.getInstance(getAddress()).setRequestPreporcessor(
+            ProviderFactory.getInstance(getAddress()).setRequestPreprocessor(
                 new RequestPreprocessor(languageMappings, extensionMappings));
             if (schemaLocations != null) {
                 ProviderFactory.getInstance(getAddress()).setSchemaLocations(schemaLocations);

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java?rev=729863&r1=729862&r2=729863&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
Mon Dec 29 03:10:43 2008
@@ -117,12 +117,12 @@
         StringBuilder sb = new StringBuilder();
         for (int i = 0; i < expression.length(); i++) {
             char ch = expression.charAt(i);
-            sb.append(isReservedCharater(ch) ? "\\" + ch : ch);
+            sb.append(isReservedCharacter(ch) ? "\\" + ch : ch);
         }
         return sb.toString();
     }
     
-    private static boolean isReservedCharater(char ch) {
+    private static boolean isReservedCharacter(char ch) {
         return CHARACTERS_TO_ESCAPE.indexOf(ch) != -1;
     }
     

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java?rev=729863&r1=729862&r2=729863&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Mon Dec 29 03:10:43 2008
@@ -496,7 +496,7 @@
         }
     }
     
-    public void setRequestPreporcessor(RequestPreprocessor rp) {
+    public void setRequestPreprocessor(RequestPreprocessor rp) {
         this.requestPreprocessor = rp;
     }
     



Mime
View raw message