Fix OrmException compile error in RegexPathPredicateTest

Change-Id: I2b2977ddac95cc6bff6ac7b31dd0702346b8d269
This commit is contained in:
David Ostrovsky
2014-04-28 22:38:28 +02:00
committed by Shawn Pearce
parent 5063254995
commit b1d98ecc06

View File

@@ -82,7 +82,7 @@ public class RegexPathPredicateTest {
return new RegexPathPredicate(ChangeQueryBuilder.FIELD_PATH, pattern);
}
private static ChangeData change(String... files) {
private static ChangeData change(String... files) throws OrmException {
Arrays.sort(files);
ChangeData cd = ChangeData.createForTest(new Change.Id(1));
cd.setCurrentFilePaths(Arrays.asList(files));