You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/02/20 09:05:17 UTC

[commons-codec] branch master updated (fb84f6d -> c75c0af)

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git.


    from fb84f6d  Java 8 improvements: (#106)
     new 2e36e5f  Remove printStackTrace from test
     new c75c0af  Remove plugin version related to JDK 7 build

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                                | 3 ---
 .../java/org/apache/commons/codec/binary/Base64OutputStreamTest.java   | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)

[commons-codec] 02/02: Remove plugin version related to JDK 7 build

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit c75c0afa7b6a601de6a0e4d59fe43b79a3f5f960
Author: Alex Herbert <a....@sussex.ac.uk>
AuthorDate: Sun Feb 20 09:02:46 2022 +0000

    Remove plugin version related to JDK 7 build
    
    The build now targets Java 8.
---
 pom.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 093e80c..4e808b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,9 +274,6 @@ limitations under the License.
   <properties>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <!-- Fix to build on JDK 7: version 4.0.0 requires Java 8. -->
-    <!-- Can be dropped when CP 49 is released -->
-    <commons.felix.version>3.5.1</commons.felix.version>
     <commons.componentid>codec</commons.componentid>
     <commons.module.name>org.apache.commons.codec</commons.module.name>
     <commons.jira.id>CODEC</commons.jira.id>

[commons-codec] 01/02: Remove printStackTrace from test

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit 2e36e5f5e99191ef378b5fef39dd94cbf29f58d8
Author: Alex Herbert <a....@sussex.ac.uk>
AuthorDate: Sun Feb 20 08:55:55 2022 +0000

    Remove printStackTrace from test
---
 .../java/org/apache/commons/codec/binary/Base64OutputStreamTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java b/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
index 4864f89..3648834 100644
--- a/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
+++ b/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
@@ -342,12 +342,13 @@ public class Base64OutputStreamTest {
             Base64OutputStream out = new Base64OutputStream(bout, false, 0, null, CodecPolicy.STRICT);
             assertTrue(out.isStrictDecoding());
             try {
+                // May throw on write or on close depending on the position of the
+                // impossible last character in the output block size
                 out.write(impossibleEncoded);
                 out.close();
                 fail();
             } catch (final IllegalArgumentException ex) {
                 // expected
-                ex.printStackTrace();
             }
         }
     }