You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/03/21 12:20:15 UTC

[commons-imaging] branch master updated: Remove unused exception from signature in private method

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-imaging.git


The following commit(s) were added to refs/heads/master by this push:
     new a386b78c Remove unused exception from signature in private method
a386b78c is described below

commit a386b78c383ba686c3e3831b8b99e5e946867537
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Mar 21 08:20:11 2023 -0400

    Remove unused exception from signature in private method
---
 src/main/java/org/apache/commons/imaging/common/BasicCParser.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/common/BasicCParser.java b/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
index fb6e9b87..38aaf7e2 100644
--- a/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
+++ b/src/main/java/org/apache/commons/imaging/common/BasicCParser.java
@@ -386,8 +386,7 @@ public class BasicCParser {
      * @return the new index i
      * @since 1.0-alpha3
      */
-    private static int appendOct(int i, final StringBuilder stringBuilder, final String string)
-        throws ImageReadException {
+    private static int appendOct(int i, final StringBuilder stringBuilder, final String string) {
         int length = 1;
         if (i + 1 < string.length() && '0' <= string.charAt(i + 1)
                 && string.charAt(i + 1) <= '7') {