comparison src/org/tmatesoft/hg/core/Path.java @ 77:c677e1593919

Moved RevlogStream implementation into .internal
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 24 Jan 2011 05:33:47 +0100
parents 19e9e220bf68
children a3a2e5deb320
comparison
equal deleted inserted replaced
76:658fa6b3a371 77:c677e1593919
67 67
68 public static Path create(String path) { 68 public static Path create(String path) {
69 if (path == null) { 69 if (path == null) {
70 throw new IllegalArgumentException(); 70 throw new IllegalArgumentException();
71 } 71 }
72 if (path.indexOf('\\') != -1) {
73 throw new IllegalArgumentException();
74 }
72 Path rv = new Path(path); 75 Path rv = new Path(path);
73 return rv; 76 return rv;
74 } 77 }
75 public interface Matcher { 78 public interface Matcher {
76 public boolean accept(Path path); 79 public boolean accept(Path path);