Issue #2540: unify it input file names for chapter6programpractice
This commit is contained in:
parent
701d2a6907
commit
2a52c00d5d
|
|
@ -48,7 +48,7 @@ public class NoFinalizerTest extends BaseCheckTestSupport {
|
|||
};
|
||||
|
||||
final Configuration checkConfig = builder.getCheckConfig("NoFinalizer");
|
||||
final String filePath = builder.getFilePath("NoFinalizerInput");
|
||||
final String filePath = builder.getFilePath("InputNoFinalizer");
|
||||
|
||||
final Integer[] warnList = builder.getLinesWithWarn(filePath);
|
||||
verify(checkConfig, filePath, expected, warnList);
|
||||
|
|
@ -72,7 +72,7 @@ public class NoFinalizerTest extends BaseCheckTestSupport {
|
|||
};
|
||||
|
||||
final Configuration checkConfig = builder.getCheckConfig("NoFinalizer");
|
||||
final String filePath = builder.getFilePath("NoFinalizeExtendInput");
|
||||
final String filePath = builder.getFilePath("InputNoFinalizeExtend");
|
||||
|
||||
final Integer[] warnList = builder.getLinesWithWarn(filePath);
|
||||
verify(checkConfig, filePath, expected, warnList);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package com.google.checkstyle.test.chapter6programpractice.rule64finalizers;
|
||||
|
||||
public class NoFinalizerInput
|
||||
public class InputNoFinalizer
|
||||
{
|
||||
public void finalize() //warn
|
||||
{
|
||||
Loading…
Reference in New Issue