You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2018/08/25 10:40:54 UTC
[07/14] commons-imaging git commit: IMAGING-103: remove redundant
static from enums
IMAGING-103: remove redundant static from enums
Project: http://git-wip-us.apache.org/repos/asf/commons-imaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-imaging/commit/170b6b90
Tree: http://git-wip-us.apache.org/repos/asf/commons-imaging/tree/170b6b90
Diff: http://git-wip-us.apache.org/repos/asf/commons-imaging/diff/170b6b90
Branch: refs/heads/master
Commit: 170b6b90ed2a884219e24412d4081c0c0ba6275b
Parents: f108400
Author: Bruno P. Kinoshita <ki...@apache.org>
Authored: Fri Aug 17 22:24:10 2018 +1200
Committer: Bruno P. Kinoshita <ki...@apache.org>
Committed: Sat Aug 25 21:51:42 2018 +1200
----------------------------------------------------------------------
pom.xml | 6 +++---
src/main/java/org/apache/commons/imaging/ImageInfo.java | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-imaging/blob/170b6b90/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 985e3f9..e091510 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,7 +153,7 @@
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
@@ -226,10 +226,10 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin.version}</version>
<configuration>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <enableRulesSummary>false</enableRulesSummary>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
+ <enableRulesSummary>false</enableRulesSummary>
</configuration>
<reportSets>
<reportSet>
http://git-wip-us.apache.org/repos/asf/commons-imaging/blob/170b6b90/src/main/java/org/apache/commons/imaging/ImageInfo.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/imaging/ImageInfo.java b/src/main/java/org/apache/commons/imaging/ImageInfo.java
index 94ce62c..70380eb 100644
--- a/src/main/java/org/apache/commons/imaging/ImageInfo.java
+++ b/src/main/java/org/apache/commons/imaging/ImageInfo.java
@@ -28,7 +28,7 @@ import java.util.logging.Logger;
*/
public class ImageInfo {
- public static enum ColorType {
+ public enum ColorType {
BW("Black and White"),
GRAYSCALE("Grayscale"),
RGB("RGB"),
@@ -51,7 +51,7 @@ public class ImageInfo {
}
}
- public static enum CompressionAlgorithm {
+ public enum CompressionAlgorithm {
UNKNOWN("Unknown"),
NONE("None"),
LZW("LZW"),