diff options
author | Victor Chang <vichang@google.com> | 2017-07-13 15:01:02 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2017-07-18 10:46:33 +0100 |
commit | faa2342e585ce148d6de982106ec7b5735f07f1f (patch) | |
tree | 29c6d892bd0b6eb62f1b237f17db02acedff1f3a /annotations/generate_annotated_java_files.py | |
parent | 4d8a37233981df346feb2be0651e0ed46719c159 (diff) |
Fix Matcher.find and reset
- Matcher.find didn't call reset(), but according to the javadoc, it
should.
- reset() didn't obtain a fresh value from mutable CharSequence.
Given that the constructor uses CharSequence, it should obtain a new value
from the CharSequence and match it again
Added 2 tests to verify such behaviors accordingly
Bug: 33737213
Test: cts-tradefed run cts -m CtsLibcoreTestCases --primary-abi-only
Change-Id: I16ce01944b8c1baac9b7947d5551fb030eb95fc8
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions