This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push: new 62d58694 Fix formatting 62d58694 is described below commit 62d58694438950d9f7e7c79d83b5ba134995bb04 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Aug 22 10:16:32 2023 -0400 Fix formatting --- src/test/java/org/apache/commons/codec/binary/Base32Test.java | 2 +- src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/codec/binary/Base32Test.java b/src/test/java/org/apache/commons/codec/binary/Base32Test.java index 2e1fb672..2bb11e35 100644 --- a/src/test/java/org/apache/commons/codec/binary/Base32Test.java +++ b/src/test/java/org/apache/commons/codec/binary/Base32Test.java @@ -208,7 +208,7 @@ public class Base32Test { final Base32 codec = new Base32(); for (final Object[] element : BASE32_BINARY_TEST_CASES) { final String expected; - if(element.length > 2) { + if (element.length > 2) { expected = (String)element[2]; } else { expected = (String)element[1]; diff --git a/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java b/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java index a27ce1a6..c70f6768 100644 --- a/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java +++ b/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java @@ -293,7 +293,7 @@ public class PureJavaCrc32Test { c.getSimpleName().length()+1, out); //check result - if(c == zip) { + if (c == zip) { expected = result; } else if (expected == null) { fail("The first class is " + c.getName() + " but not " + zip.getName());