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/05/14 16:59:48 UTC
[commons-imaging] branch master updated (2c61d200 -> f1cb38f8)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
from 2c61d200 Javadoc
new 83569289 Reduce public API footprint
new 7edb2b00 Format tweak
new f1cb38f8 Reduce public API footprint
The 3 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:
.../org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java | 2 +-
.../org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
[commons-imaging] 01/03: Reduce public API footprint
Posted by gg...@apache.org.
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
commit 83569289a932f238865410dc041e18f128601d05
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 14 12:52:48 2023 -0400
Reduce public API footprint
---
.../java/org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java b/src/main/java/org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java
index 4316c6e4..d9083d5c 100644
--- a/src/main/java/org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java
+++ b/src/main/java/org/apache/commons/imaging/common/mylzw/MyBitOutputStream.java
@@ -20,7 +20,7 @@ import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteOrder;
-public class MyBitOutputStream extends OutputStream {
+class MyBitOutputStream extends OutputStream {
private final OutputStream os;
private final ByteOrder byteOrder;
private int bitsInCache;
[commons-imaging] 02/03: Format tweak
Posted by gg...@apache.org.
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
commit 7edb2b009fb3b2dada95c01fe32219eb80dc4364
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 14 12:55:01 2023 -0400
Format tweak
---
.../org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
index 40fa2d42..909dbde0 100644
--- a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
+++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
@@ -22,6 +22,7 @@ import java.util.Map;
public final class IptcTypeLookup {
private static final Map<Integer, IptcType> IPTC_TYPE_MAP = new HashMap<>();
+
static {
for (final IptcType iptcType : IptcTypes.values()) {
IPTC_TYPE_MAP.put(iptcType.getType(), iptcType);
[commons-imaging] 03/03: Reduce public API footprint
Posted by gg...@apache.org.
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
commit f1cb38f80b8da1b8464a3312097c48ad57f51f19
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 14 12:55:44 2023 -0400
Reduce public API footprint
---
.../org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
index 909dbde0..5ebbe6f7 100644
--- a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
+++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookup.java
@@ -19,7 +19,7 @@ package org.apache.commons.imaging.formats.jpeg.iptc;
import java.util.HashMap;
import java.util.Map;
-public final class IptcTypeLookup {
+final class IptcTypeLookup {
private static final Map<Integer, IptcType> IPTC_TYPE_MAP = new HashMap<>();