X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/ui/util/StringMatcher.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/ui/util/StringMatcher.java index dc778c3..7218c11 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/ui/util/StringMatcher.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/ui/util/StringMatcher.java @@ -350,7 +350,7 @@ public class StringMatcher { * @return the starting index in the text of the pattern , or -1 if not * found */ - protected int regExpPosIn(String text, int start, int end, String p) { + private int regExpPosIn(String text, int start, int end, String p) { int plen = p.length(); int max = end - plen; @@ -374,7 +374,7 @@ public class StringMatcher { * @param ignoreCase, boolean indicating wether code>p * is case sensitive */ - protected boolean regExpRegionMatches(String text, int tStart, String p, + private boolean regExpRegionMatches(String text, int tStart, String p, int pStart, int plen) { while (plen-- > 0) { char tchar = text.charAt(tStart++); @@ -418,7 +418,7 @@ public class StringMatcher { * @return the starting index in the text of the pattern , or -1 if not * found */ - protected int textPosIn(String text, int start, int end, String p) { + private int textPosIn(String text, int start, int end, String p) { int plen = p.length(); int max = end - plen;