equal
deleted
inserted
replaced
377 } |
377 } |
378 |
378 |
379 // used for substring comparisons (where proto has "*" wildcards |
379 // used for substring comparisons (where proto has "*" wildcards |
380 private boolean substringMatch(String proto, String value) { |
380 private boolean substringMatch(String proto, String value) { |
381 // simple case 1: "*" means attribute presence is being tested |
381 // simple case 1: "*" means attribute presence is being tested |
382 if(proto.equals(new Character(WILDCARD_TOKEN).toString())) { |
382 if(proto.equals(Character.toString(WILDCARD_TOKEN))) { |
383 if(debug) {System.out.println("simple presence assertion");} |
383 if(debug) {System.out.println("simple presence assertion");} |
384 return true; |
384 return true; |
385 } |
385 } |
386 |
386 |
387 // simple case 2: if there are no wildcards, call String.equals() |
387 // simple case 2: if there are no wildcards, call String.equals() |