You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/11/07 16:26:27 UTC

svn commit: r1814517 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java

Author: ggregory
Date: Tue Nov  7 16:26:27 2017
New Revision: 1814517

URL: http://svn.apache.org/viewvc?rev=1814517&view=rev
Log:
[CODEC-240] Add Percent-Encoding Codec (described in RFC3986 and RFC7578). Sort members.

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java?rev=1814517&r1=1814516&r2=1814517&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/PercentCodec.java Tue Nov  7 16:26:27 2017
@@ -41,19 +41,19 @@ public class PercentCodec implements Bin
     /**
      * The escape character used by the Percent-Encoding in order to introduce an encoded character.
      */
-    
+
     private final byte ESCAPE_CHAR = '%';
-    
+
     /**
      * The bit set used to store the character that should be always encoded
      */
     private final BitSet alwaysEncodeChars = new BitSet();
-    
+
     /**
      * The flag defining if the space character should be encoded as '+'
      */
     private final boolean plusForSpace;
-    
+
     /**
      * The minimum and maximum code of the bytes that is inserted in the bit set, used to prevent look-ups
      */