File tree 2 files changed +3
-3
lines changed
main/java/de/thetaphi/forbiddenapis/ant
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public void setSignaturesFile(File file) {
238
238
}
239
239
240
240
/** Creates a collection of arbitrary Ant resources */
241
- public Resources createSignaturesResources () {
241
+ public Resources createSignatures () {
242
242
return addSignaturesResource (new Resources ());
243
243
}
244
244
Original file line number Diff line number Diff line change 61
61
<au : expectfailure expectedMessage =" Check for forbidden API calls failed, see log" >
62
62
<forbiddenapis classpathref =" path.all" >
63
63
<fileset refid =" main.classes" />
64
- <signaturesResources >
64
+ <signatures >
65
65
<file file =" signatures1.txt" />
66
66
<string >java.util.Locale#ENGLISH @ We are speaking chinese here!</string >
67
- </signaturesResources >
67
+ </signatures >
68
68
</forbiddenapis >
69
69
</au : expectfailure >
70
70
<au : assertLogContains level =" error" text =" java.lang.String#substring(int,int) [You are crazy that you disallow substrings]" />
You can’t perform that action at this time.
0 commit comments