From 2a52c00d5de8a6b56df0b9678f831e5814170ca6 Mon Sep 17 00:00:00 2001 From: rnveach Date: Mon, 9 Nov 2015 22:55:02 -0500 Subject: [PATCH] Issue #2540: unify it input file names for chapter6programpractice --- .../rule64finalizers/NoFinalizerTest.java | 4 ++-- .../{EmptyBlockInputCatch.java => InputEmptyBlockCatch.java} | 0 ...{NoFinalizeExtendInput.java => InputNoFinalizeExtend.java} | 0 .../{NoFinalizerInput.java => InputNoFinalizer.java} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule62caughtexceptions/{EmptyBlockInputCatch.java => InputEmptyBlockCatch.java} (100%) rename src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/{NoFinalizeExtendInput.java => InputNoFinalizeExtend.java} (100%) rename src/it/resources/com/google/checkstyle/test/chapter6programpractice/rule64finalizers/{NoFinalizerInput.java => InputNoFinalizer.java} (95%) 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 {