[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [commons-imaging] branch master updated: Remove redundant modifiers like 'public' and 'static'.
From: ggregory () apache ! org
Date: 2019-03-31 13:46:35
Message-ID: 155403999547.12297.6281238526170448814 () gitbox ! apache ! org
[Download RAW message or body]
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 8934b16 Remove redundant modifiers like 'public' and 'static'.
8934b16 is described below
commit 8934b16fa5316c960ee36165da2cb4e0dbe7be42
Author: Gary Gregory <gardgregory@gmail.com>
AuthorDate: Sun Mar 31 09:46:29 2019 -0400
Remove redundant modifiers like 'public' and 'static'.
---
src/test/java/org/apache/commons/imaging/ImagingTest.java | 4 ++--
.../apache/commons/imaging/common/bytesource/ByteSourceDataTest.java | 2 +-
.../java/org/apache/commons/imaging/formats/ico/IcoRoundtripTest.java | 2 +-
.../org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java | 2 +-
.../org/apache/commons/imaging/test/util/FileSystemTraversal.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/test/java/org/apache/commons/imaging/ImagingTest.java \
b/src/test/java/org/apache/commons/imaging/ImagingTest.java index d7ef3c3..a66fafc \
100644
--- a/src/test/java/org/apache/commons/imaging/ImagingTest.java
+++ b/src/test/java/org/apache/commons/imaging/ImagingTest.java
@@ -45,8 +45,8 @@ public abstract class ImagingTest implements
PHIL_HARVEY_TEST_IMAGE_FOLDER.getAbsolutePath());
}
- public static interface ImageFilter {
- public boolean accept(File file) throws IOException, ImageReadException;
+ public interface ImageFilter {
+ boolean accept(File file) throws IOException, ImageReadException;
}
protected File getTestImage() throws IOException, ImageReadException {
diff --git a/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java \
b/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java \
index b030062..312eff2 100644
--- a/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java
+++ b/src/test/java/org/apache/commons/imaging/common/bytesource/ByteSourceDataTest.java
@@ -48,7 +48,7 @@ public class ByteSourceDataTest extends ByteSourceTest {
}
private interface ByteSourceFactory {
- public ByteSource getByteSource(byte src[]) throws IOException;
+ ByteSource getByteSource(byte src[]) throws IOException;
}
private class ByteSourceFileFactory implements ByteSourceFactory {
diff --git a/src/test/java/org/apache/commons/imaging/formats/ico/IcoRoundtripTest.java \
b/src/test/java/org/apache/commons/imaging/formats/ico/IcoRoundtripTest.java index \
e882531..b354e0d 100644
--- a/src/test/java/org/apache/commons/imaging/formats/ico/IcoRoundtripTest.java
+++ b/src/test/java/org/apache/commons/imaging/formats/ico/IcoRoundtripTest.java
@@ -68,7 +68,7 @@ public class IcoRoundtripTest extends IcoBaseTest {
generatorMap.put(32, new GeneratorFor32BitBitmaps());
}
- private static interface BitmapGenerator {
+ private interface BitmapGenerator {
byte[] generateBitmap(int foreground, int background, int paletteSize)
throws IOException, ImageWriteException;
}
diff --git a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java \
b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java \
index e742d0c..a672231 100644
--- a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java
+++ b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java
@@ -167,7 +167,7 @@ public class ExifRewriteTest extends ExifBaseTest {
}
private interface Rewriter {
- public void rewrite(ByteSource byteSource, OutputStream os,
+ void rewrite(ByteSource byteSource, OutputStream os,
TiffOutputSet outputSet) throws ImageReadException,
IOException, ImageWriteException;
}
diff --git a/src/test/java/org/apache/commons/imaging/test/util/FileSystemTraversal.java \
b/src/test/java/org/apache/commons/imaging/test/util/FileSystemTraversal.java index \
6aa8cfd..7da17dc 100644
--- a/src/test/java/org/apache/commons/imaging/test/util/FileSystemTraversal.java
+++ b/src/test/java/org/apache/commons/imaging/test/util/FileSystemTraversal.java
@@ -28,7 +28,7 @@ public class FileSystemTraversal {
public static final int MODE_ALL = 4;
public interface Visitor {
- public boolean visit(File file, double progressEstimate);
+ boolean visit(File file, double progressEstimate);
}
public boolean traverseFiles(final File file, final Visitor visitor) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic