diff --git a/src/it/java/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerTest.java b/src/it/java/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerTest.java index 9aa2ce3ab..ee0bbb327 100644 --- a/src/it/java/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerTest.java +++ b/src/it/java/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerTest.java @@ -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); diff --git a/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule62caughtexceptions/EmptyBlockInputCatch.java b/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule62caughtexceptions/InputEmptyBlockCatch.java similarity index 100% rename from src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule62caughtexceptions/EmptyBlockInputCatch.java rename to src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule62caughtexceptions/InputEmptyBlockCatch.java diff --git a/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizeExtendInput.java b/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/InputNoFinalizeExtend.java similarity index 100% rename from src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizeExtendInput.java rename to src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/InputNoFinalizeExtend.java diff --git a/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerInput.java b/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/InputNoFinalizer.java similarity index 95% rename from src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerInput.java rename to src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/InputNoFinalizer.java index 1707d0201..487a53257 100644 --- a/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/NoFinalizerInput.java +++ b/src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/InputNoFinalizer.java @@ -1,6 +1,6 @@ package com.google.checkstyle.test.chapter6programpractice.rule64finalizers; -public class NoFinalizerInput +public class InputNoFinalizer { public void finalize() //warn {