abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r520461 - in /incubator/abdera/java/trunk: dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java
Date Tue, 20 Mar 2007 16:20:14 GMT
Author: jmsnell
Date: Tue Mar 20 09:20:13 2007
New Revision: 520461

URL: http://svn.apache.org/viewvc?view=rev&rev=520461
Log:
Add new constant used by the slug sanitization
Remove an unnecessary import

Modified:
    incubator/abdera/java/trunk/dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java
    incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java

Modified: incubator/abdera/java/trunk/dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java?view=diff&rev=520461&r1=520460&r2=520461
==============================================================================
--- incubator/abdera/java/trunk/dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java
(original)
+++ incubator/abdera/java/trunk/dependencies/g14n/src/main/java/org/apache/abdera/g14n/iri/Constants.java
Tue Mar 20 09:20:13 2007
@@ -50,6 +50,7 @@
   public final static BitSet SUBDELIMS  = new ChainableBitSet().set2("!$&\\'()*+,;=");
   public final static BitSet PCHAR      = new ChainableBitSet().set2(UNRESERVED).set2(ESCAPED).set2(":@&=+$,");
   public final static BitSet PATH       = new ChainableBitSet().set2(PCHAR).set2(";/%");
+  public final static BitSet PATHNODELIMS = new ChainableBitSet().set2(PATH).addNot2(GENDELIMS);
   public final static BitSet SCHEME     = new ChainableBitSet().set2(ALPHA).set2(DIGIT).set2("+-.");
   public final static BitSet USERINFO   = new ChainableBitSet().set2(UNRESERVED).set2(SUBDELIMS).set2('%').set2(HEX);
   public final static BitSet QUERY      = new ChainableBitSet().set2(PCHAR).set2('/','?');

Modified: incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java?view=diff&rev=520461&r1=520460&r2=520461
==============================================================================
--- incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java
(original)
+++ incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/EncodingUtil.java
Tue Mar 20 09:20:13 2007
@@ -28,7 +28,6 @@
 import org.apache.abdera.g14n.iri.Escaping;
 import org.apache.abdera.g14n.iri.Constants;
 import org.apache.abdera.g14n.unicode.Normalizer;
-import org.apache.abdera.g14n.ChainableBitSet;
 import org.apache.commons.codec.net.QCodec;
 
 public class EncodingUtil {



Mime
View raw message