File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
src/test/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public void testRequireUseOfAssertThat() {
153
153
@ Test
154
154
public void testRequireUseOfOnlySpecificApacheCommons () {
155
155
156
- final ArchRule onlyApprovedApacheCommonsLang3Methods = classes ()
156
+ final ArchRule onlyApprovedApacheCommonsMethods = classes ()
157
157
.should (notCallMethodsInPackageUnless ("org.apache.commons.." ,
158
158
// unless it is one of these methods
159
159
targetMethodIs (StringUtils .class , "capitalize" , String .class ),
@@ -187,9 +187,9 @@ public void testRequireUseOfOnlySpecificApacheCommons() {
187
187
targetMethodIs (IOUtils .class , "toString" , Reader .class ),
188
188
targetMethodIs (IOUtils .class , "toByteArray" , InputStream .class )))
189
189
.because (
190
- "Commons methods must be manually verified to be compatible with commons-io:2.4 or earlier and commons-lang3:3.9 or earlier should be used ." );
190
+ "Commons methods must be manually verified to be compatible with commons-io:2.4 or earlier and commons-lang3:3.9 or earlier." );
191
191
192
- onlyApprovedApacheCommonsLang3Methods .check (classFiles );
192
+ onlyApprovedApacheCommonsMethods .check (classFiles );
193
193
}
194
194
195
195
public static ArchCondition <JavaClass > notCallMethodsInPackageUnless (final String packageIdentifier ,
You can’t perform that action at this time.
0 commit comments