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 2021/11/27 18:44:23 UTC

[commons-vfs] 01/02: No need to double-space.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit a0e7942ccfc788d24730207dbde822086bedebbc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 27 11:44:53 2021 -0500

    No need to double-space.
---
 .../org/apache/commons/vfs2/util/URIBitSets.java   | 58 ----------------------
 1 file changed, 58 deletions(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/URIBitSets.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/URIBitSets.java
index 473ba62..4c2adb3 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/URIBitSets.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/URIBitSets.java
@@ -43,7 +43,6 @@ final class URIBitSets {
         percent.set('%');
     }
 
-
     /**
      * BitSet for digit.
      * <p><blockquote><pre>
@@ -59,7 +58,6 @@ final class URIBitSets {
         }
     }
 
-
     /**
      * BitSet for alpha.
      * <p><blockquote><pre>
@@ -77,7 +75,6 @@ final class URIBitSets {
         }
     }
 
-
     /**
      * BitSet for alphanum (join of alpha &amp; digit).
      * <p><blockquote><pre>
@@ -91,7 +88,6 @@ final class URIBitSets {
         alphanum.or(digit);
     }
 
-
     /**
      * BitSet for hex.
      * <p><blockquote><pre>
@@ -111,7 +107,6 @@ final class URIBitSets {
         }
     }
 
-
     /**
      * BitSet for escaped.
      * <p><blockquote><pre>
@@ -125,7 +120,6 @@ final class URIBitSets {
         escaped.or(hex);
     }
 
-
     /**
      * BitSet for mark.
      * <p><blockquote><pre>
@@ -147,7 +141,6 @@ final class URIBitSets {
         mark.set(')');
     }
 
-
     /**
      * Data characters that are allowed in a URI but do not have a reserved
      * purpose are called unreserved.
@@ -162,7 +155,6 @@ final class URIBitSets {
         unreserved.or(mark);
     }
 
-
     /**
      * BitSet for reserved.
      * <p><blockquote><pre>
@@ -185,7 +177,6 @@ final class URIBitSets {
         reserved.set(',');
     }
 
-
     /**
      * BitSet for uric.
      * <p><blockquote><pre>
@@ -200,7 +191,6 @@ final class URIBitSets {
         uric.or(escaped);
     }
 
-
     /**
      * BitSet for fragment (alias for uric).
      * <p><blockquote><pre>
@@ -209,7 +199,6 @@ final class URIBitSets {
      */
     protected static final BitSet fragment = uric;
 
-
     /**
      * BitSet for query (alias for uric).
      * <p><blockquote><pre>
@@ -218,7 +207,6 @@ final class URIBitSets {
      */
     protected static final BitSet query = uric;
 
-
     /**
      * BitSet for pchar.
      * <p><blockquote><pre>
@@ -240,7 +228,6 @@ final class URIBitSets {
         pchar.set(',');
     }
 
-
     /**
      * BitSet for param (alias for pchar).
      * <p><blockquote><pre>
@@ -249,7 +236,6 @@ final class URIBitSets {
      */
     protected static final BitSet param = pchar;
 
-
     /**
      * BitSet for segment.
      * <p><blockquote><pre>
@@ -264,7 +250,6 @@ final class URIBitSets {
         segment.or(param);
     }
 
-
     /**
      * BitSet for path segments.
      * <p><blockquote><pre>
@@ -278,7 +263,6 @@ final class URIBitSets {
         path_segments.or(segment);
     }
 
-
     /**
      * URI absolute path.
      * <p><blockquote><pre>
@@ -292,7 +276,6 @@ final class URIBitSets {
         abs_path.or(path_segments);
     }
 
-
     /**
      * URI bitset for encoding typical non-slash characters.
      * <p><blockquote><pre>
@@ -316,7 +299,6 @@ final class URIBitSets {
         uric_no_slash.set(',');
     }
 
-
     /**
      * URI bitset that combines uric_no_slash and uric.
      * <p><blockquote><pre>
@@ -331,7 +313,6 @@ final class URIBitSets {
         opaque_part.or(uric);
     }
 
-
     /**
      * URI bitset that combines absolute path and opaque part.
      * <p><blockquote><pre>
@@ -345,13 +326,11 @@ final class URIBitSets {
         path.or(opaque_part);
     }
 
-
     /**
      * Port, a logical alias for digit.
      */
     protected static final BitSet port = digit;
 
-
     /**
      * Bitset that combines digit and dot fo IPv$address.
      * <p><blockquote><pre>
@@ -365,7 +344,6 @@ final class URIBitSets {
         IPv4address.set('.');
     }
 
-
     /**
      * RFC 2373.
      * <p><blockquote><pre>
@@ -380,7 +358,6 @@ final class URIBitSets {
         IPv6address.or(IPv4address);
     }
 
-
     /**
      * RFC 2732, 2373.
      * <p><blockquote><pre>
@@ -395,7 +372,6 @@ final class URIBitSets {
         IPv6reference.set(']');
     }
 
-
     /**
      * BitSet for toplabel.
      * <p><blockquote><pre>
@@ -409,7 +385,6 @@ final class URIBitSets {
         toplabel.set('-');
     }
 
-
     /**
      * BitSet for domainlabel.
      * <p><blockquote><pre>
@@ -418,7 +393,6 @@ final class URIBitSets {
      */
     protected static final BitSet domainlabel = toplabel;
 
-
     /**
      * BitSet for hostname.
      * <p><blockquote><pre>
@@ -433,7 +407,6 @@ final class URIBitSets {
         hostname.set('.');
     }
 
-
     /**
      * BitSet for host.
      * <p><blockquote><pre>
@@ -448,7 +421,6 @@ final class URIBitSets {
         host.or(IPv6reference); // IPv4address
     }
 
-
     /**
      * BitSet for hostport.
      * <p><blockquote><pre>
@@ -463,7 +435,6 @@ final class URIBitSets {
         hostport.or(port);
     }
 
-
     /**
      * Bitset for userinfo.
      * <p><blockquote><pre>
@@ -485,7 +456,6 @@ final class URIBitSets {
         userinfo.set(',');
     }
 
-
     /**
      * BitSet for within the userinfo component like user and password.
      */
@@ -500,7 +470,6 @@ final class URIBitSets {
         within_userinfo.clear('/');
     }
 
-
     /**
      * Bitset for server.
      * <p><blockquote><pre>
@@ -515,7 +484,6 @@ final class URIBitSets {
         server.or(hostport);
     }
 
-
     /**
      * BitSet for reg_name.
      * <p><blockquote><pre>
@@ -538,7 +506,6 @@ final class URIBitSets {
         reg_name.set('+');
     }
 
-
     /**
      * BitSet for authority.
      * <p><blockquote><pre>
@@ -552,7 +519,6 @@ final class URIBitSets {
         authority.or(reg_name);
     }
 
-
     /**
      * BitSet for scheme.
      * <p><blockquote><pre>
@@ -569,7 +535,6 @@ final class URIBitSets {
         scheme.set('.');
     }
 
-
     /**
      * BitSet for rel_segment.
      * <p><blockquote><pre>
@@ -591,7 +556,6 @@ final class URIBitSets {
         rel_segment.set(',');
     }
 
-
     /**
      * BitSet for rel_path.
      * <p><blockquote><pre>
@@ -605,7 +569,6 @@ final class URIBitSets {
         rel_path.or(abs_path);
     }
 
-
     /**
      * BitSet for net_path.
      * <p><blockquote><pre>
@@ -620,7 +583,6 @@ final class URIBitSets {
         net_path.or(abs_path);
     }
 
-
     /**
      * BitSet for hier_part.
      * <p><blockquote><pre>
@@ -636,7 +598,6 @@ final class URIBitSets {
         hier_part.or(query);
     }
 
-
     /**
      * BitSet for relativeURI.
      * <p><blockquote><pre>
@@ -653,7 +614,6 @@ final class URIBitSets {
         relativeURI.or(query);
     }
 
-
     /**
      * BitSet for absoluteURI.
      * <p><blockquote><pre>
@@ -669,7 +629,6 @@ final class URIBitSets {
         absoluteURI.or(opaque_part);
     }
 
-
     /**
      * BitSet for URI-reference.
      * <p><blockquote><pre>
@@ -709,7 +668,6 @@ final class URIBitSets {
         space.set(0x20);
     }
 
-
     /**
      * BitSet for delims.
      */
@@ -723,7 +681,6 @@ final class URIBitSets {
         delims.set('"');
     }
 
-
     /**
      * BitSet for unwise.
      */
@@ -740,7 +697,6 @@ final class URIBitSets {
         unwise.set('`');
     }
 
-
     /**
      * Disallowed rel_path before escaping.
      */
@@ -751,7 +707,6 @@ final class URIBitSets {
         disallowed_rel_path.andNot(rel_path);
     }
 
-
     /**
      * Disallowed opaque_part before escaping.
      */
@@ -774,7 +729,6 @@ final class URIBitSets {
         allowed_authority.clear('%');
     }
 
-
     /**
      * Those characters that are allowed for the opaque_part.
      */
@@ -785,7 +739,6 @@ final class URIBitSets {
         allowed_opaque_part.clear('%');
     }
 
-
     /**
      * Those characters that are allowed for the reg_name.
      */
@@ -797,7 +750,6 @@ final class URIBitSets {
         allowed_reg_name.clear('%');
     }
 
-
     /**
      * Those characters that are allowed for the userinfo component.
      */
@@ -809,7 +761,6 @@ final class URIBitSets {
         allowed_userinfo.clear('%');
     }
 
-
     /**
      * Those characters that are allowed for within the userinfo component.
      */
@@ -820,7 +771,6 @@ final class URIBitSets {
         allowed_within_userinfo.clear('%');
     }
 
-
     /**
      * Those characters that are allowed for the IPv6reference component.
      * The characters '[', ']' in IPv6reference should be excluded.
@@ -834,7 +784,6 @@ final class URIBitSets {
         allowed_IPv6reference.clear(']');
     }
 
-
     /**
      * Those characters that are allowed for the host component.
      * The characters '[', ']' in IPv6reference should be excluded.
@@ -846,7 +795,6 @@ final class URIBitSets {
         allowed_host.or(allowed_IPv6reference);
     }
 
-
     /**
      * Those characters that are allowed for the authority component.
      */
@@ -862,7 +810,6 @@ final class URIBitSets {
         allowed_within_authority.clear('/');
     }
 
-
     /**
      * Those characters that are allowed for the abs_path.
      */
@@ -875,7 +822,6 @@ final class URIBitSets {
         allowed_abs_path.clear('+');
     }
 
-
     /**
      * Those characters that are allowed for the rel_path.
      */
@@ -887,7 +833,6 @@ final class URIBitSets {
         allowed_rel_path.clear('+');
     }
 
-
     /**
      * Those characters that are allowed within the path.
      */
@@ -901,7 +846,6 @@ final class URIBitSets {
         allowed_within_path.clear('?');
     }
 
-
     /**
      * Those characters that are allowed for the query component.
      */
@@ -912,7 +856,6 @@ final class URIBitSets {
         allowed_query.clear('%');
     }
 
-
     /**
      * Those characters that are allowed within the query component.
      */
@@ -923,7 +866,6 @@ final class URIBitSets {
         allowed_within_query.andNot(reserved); // excluded 'reserved'
     }
 
-
     /**
      * Those characters that are allowed for the fragment component.
      */