cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amicha...@apache.org
Subject svn commit: r764102 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
Date Fri, 10 Apr 2009 23:25:54 GMT
Author: amichalec
Date: Fri Apr 10 23:25:54 2009
New Revision: 764102

URL: http://svn.apache.org/viewvc?rev=764102&view=rev
Log:
broken checkstyle fix

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

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=764102&r1=764101&r2=764102&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
Fri Apr 10 23:25:54 2009
@@ -270,8 +270,8 @@
      * @return encoded value
      */
     public String encodeLiteralCharacters() {
-        final float ENCODED_RATIO = 1.5f;
-        StringBuffer sb = new StringBuffer((int)(ENCODED_RATIO * template.length()));
+        final float encodedRatio = 1.5f;
+        StringBuffer sb = new StringBuffer((int)(encodedRatio * template.length()));
         for (UriChunk chunk : uriChunks) {
             String val = chunk.getValue();
             if (chunk instanceof Literal) {



Mime
View raw message