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 2021/01/17 21:44:51 UTC

[commons-imaging] branch master updated (42a6e6e -> 7867c25)

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 42a6e6e  Use isEmpty().
     new 77e32cb  Ignore IML (IntelliJ) files.
     new 7867c25  Make private elements final where possible.

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:
 .gitignore                                              | 3 ++-
 src/main/java/org/apache/commons/imaging/ImageInfo.java | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)


[commons-imaging] 02/02: Make private elements final where possible.

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 7867c258bf8a48546816353c8ac7518b19835658
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 17 16:44:47 2021 -0500

    Make private elements final where possible.
---
 src/main/java/org/apache/commons/imaging/ImageInfo.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/ImageInfo.java b/src/main/java/org/apache/commons/imaging/ImageInfo.java
index e2ad886..b3915bc 100644
--- a/src/main/java/org/apache/commons/imaging/ImageInfo.java
+++ b/src/main/java/org/apache/commons/imaging/ImageInfo.java
@@ -39,7 +39,7 @@ public class ImageInfo {
         OTHER("Other"),
         UNKNOWN("Unknown");
 
-        private String description;
+        private final String description;
 
         ColorType(final String description) {
             this.description = description;
@@ -65,7 +65,7 @@ public class ImageInfo {
         CCITT_GROUP_4("CCITT Group 4"),
         CCITT_1D("CCITT 1D");
 
-        private String description;
+        private final String description;
 
         CompressionAlgorithm(final String description) {
             this.description = description;


[commons-imaging] 01/02: Ignore IML (IntelliJ) files.

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 77e32cb7563431cdf4c1a0f6b12a40cd0639dc0c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 17 16:44:22 2021 -0500

    Ignore IML (IntelliJ) files.
---
 .gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 7531db9..70910ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,5 @@ release.properties
 /.settings/
 /.classpath
 /.project
-/nbproject/
\ No newline at end of file
+/nbproject/
+/commons-imaging.iml