Fix OrmException compile error in RegexPathPredicateTest
Change-Id: I2b2977ddac95cc6bff6ac7b31dd0702346b8d269
This commit is contained in:

committed by
Shawn Pearce

parent
5063254995
commit
b1d98ecc06
@@ -82,7 +82,7 @@ public class RegexPathPredicateTest {
|
|||||||
return new RegexPathPredicate(ChangeQueryBuilder.FIELD_PATH, pattern);
|
return new RegexPathPredicate(ChangeQueryBuilder.FIELD_PATH, pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static ChangeData change(String... files) {
|
private static ChangeData change(String... files) throws OrmException {
|
||||||
Arrays.sort(files);
|
Arrays.sort(files);
|
||||||
ChangeData cd = ChangeData.createForTest(new Change.Id(1));
|
ChangeData cd = ChangeData.createForTest(new Change.Id(1));
|
||||||
cd.setCurrentFilePaths(Arrays.asList(files));
|
cd.setCurrentFilePaths(Arrays.asList(files));
|
||||||
|
Reference in New Issue
Block a user