From b23eadd915644d429446f52cb210f2f5b3c0d092 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Apr 2021 13:52:12 +0000 Subject: [PATCH 1/3] a reformat code --- .../com/spun/util/WhiteSpaceFileFilter.java | 35 ++++++++++++------- .../com/spun/util/WhiteSpaceStripper.java | 1 - 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceFileFilter.java b/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceFileFilter.java index 15bfded8..3e21dfb1 100644 --- a/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceFileFilter.java +++ b/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceFileFilter.java @@ -2,18 +2,27 @@ import java.io.File; -public class WhiteSpaceFileFilter implements java.io.FileFilter { - @Override - public boolean accept(File pathname) { - if (pathname.getName().equals(".") || pathname.getName().equals(".")) { - return false; - } else if (pathname.getName().equalsIgnoreCase("email")) { - return false; - } else if (pathname.isDirectory() || (pathname.getName().contains(".htm")) - || (pathname.getName().contains(".txt"))) { - return true; - } else { - return false; - } +public class WhiteSpaceFileFilter implements java.io.FileFilter +{ + @Override + public boolean accept(File pathname) + { + if (pathname.getName().equals(".") || pathname.getName().equals(".")) + { + return false; } + else if (pathname.getName().equalsIgnoreCase("email")) + { + return false; + } + else if (pathname.isDirectory() || (pathname.getName().contains(".htm")) + || (pathname.getName().contains(".txt"))) + { + return true; + } + else + { + return false; + } + } } diff --git a/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceStripper.java b/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceStripper.java index 79494163..c631b1dc 100644 --- a/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceStripper.java +++ b/approvaltests-util/src/main/java/com/spun/util/WhiteSpaceStripper.java @@ -160,4 +160,3 @@ private static void writeFile(File file, String text) throws IOException } } } - From 4544497f8b0c6e73c61f80422ba20d4c1a88ec02 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Apr 2021 13:57:22 +0000 Subject: [PATCH 2/3] e set SNAPSHOT version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1f47881..defe638f 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ add this to your pom file: com.approvaltests approvaltests - 11.1.0 + 11.2,0 ``` From d54c25ebb905e51fbd110e43988dad7f0bf550d6 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Apr 2021 14:12:48 +0000 Subject: [PATCH 3/3] e set SNAPSHOT version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index defe638f..0531fa5e 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ add this to your pom file: com.approvaltests approvaltests - 11.2,0 + 11.2.1 ```