@ -154,9 +153,9 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -154,9 +153,9 @@ public class PathPattern implements Comparable<PathPattern> {
path="";// Will allow CaptureTheRest to bind the variable to empty
}
@ -179,7 +178,7 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -179,7 +178,7 @@ public class PathPattern implements Comparable<PathPattern> {
if(this.head==null){
returnnewPathRemainingMatchInfo(path);
}
elseif(!hasLength(path)){
elseif(!StringUtils.hasLength(path)){
returnnull;
}
@ -208,9 +207,9 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -208,9 +207,9 @@ public class PathPattern implements Comparable<PathPattern> {
@ -228,13 +227,11 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -228,13 +227,11 @@ public class PathPattern implements Comparable<PathPattern> {
thrownewIllegalStateException("Pattern \""+this+"\" is not a match for \""+path+"\"");
}
thrownewIllegalStateException("Pattern \""+this+"\" is not a match for \""+path+"\"");
}
}
@ -400,15 +397,15 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -400,15 +397,15 @@ public class PathPattern implements Comparable<PathPattern> {
*/
publicStringcombine(Stringpattern2string){
// If one of them is empty the result is the other. If both empty the result is ""