mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 01:58:24 +00:00
Add StringMatcher#toString(); useful from a debugger.
This commit is contained in:
parent
f8669ed70a
commit
ff3492b062
@ -374,6 +374,12 @@ public int isMatch(final char[] buffer, int pos, final int bufferStart, final in
|
||||
}
|
||||
return len;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString() + ' ' + Arrays.toString(chars);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user