cvs commit: spice/components/salt/src/java/org/realityforge/salt/io PathMatcher.java

Peter Donald <[email protected]> Mon, 10 Nov 2003 19:14:23 -0800
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
donaldp     03/11/10 19:14:23

  Modified:    components/salt/src/java/org/realityforge/salt/io
                        PathMatcher.java
  Log:
  Styled
  
  Revision  Changes    Path
  1.5       +3 -3      spice/components/salt/src/java/org/realityforge/salt/io/PathMatcher.java
  
  Index: PathMatcher.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/components/salt/src/java/org/realityforge/salt/io/PathMatcher.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PathMatcher.java	12 Sep 2003 21:42:28 -0000	1.4
  +++ PathMatcher.java	11 Nov 2003 03:14:22 -0000	1.5
  @@ -17,7 +17,7 @@
    * particular set of include and exclude patterns ala ant.
    *
    * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
  - * @version $Revision: 1.4 $ $Date: 2003/09/12 21:42:28 $
  + * @version $Revision: 1.5 $ $Date: 2003/11/11 03:14:22 $
    */
   public class PathMatcher
   {
  @@ -164,7 +164,7 @@
               }
               catch( final MalformedPatternException mpe )
               {
  -                final String message = strs[i] + ":" + mpe.toString();
  +                final String message = strs[ i ] + ":" + mpe.toString();
                   throw new IllegalArgumentException( message );
               }
           }
  @@ -198,7 +198,7 @@
                   {
                       sb.append( "([^\\" );
                       sb.append( m_separator );
  -                    sb.append( "]*\\"  );
  +                    sb.append( "]*\\" );
                       sb.append( m_separator );
                       sb.append( ")*" );
                       i += 2;
  
  
  


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/