You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2017/05/24 18:40:52 UTC
[04/50] [abbrv] commons-imaging git commit: Local variable is not
needed.
Local variable is not needed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/imaging/trunk@1775874 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/commons-imaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-imaging/commit/04aaa4b3
Tree: http://git-wip-us.apache.org/repos/asf/commons-imaging/tree/04aaa4b3
Diff: http://git-wip-us.apache.org/repos/asf/commons-imaging/diff/04aaa4b3
Branch: refs/heads/master
Commit: 04aaa4b3f605ba05f4f3e6736f7f402c656ef202
Parents: ea94f20
Author: Gary D. Gregory <gg...@apache.org>
Authored: Fri Dec 23 18:16:21 2016 +0000
Committer: Gary D. Gregory <gg...@apache.org>
Committed: Fri Dec 23 18:16:21 2016 +0000
----------------------------------------------------------------------
.../java/org/apache/commons/imaging/formats/tiff/TiffReader.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-imaging/blob/04aaa4b3/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java b/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
index 612f1f4..a259b59 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
@@ -55,8 +55,7 @@ public class TiffReader extends BinaryFileParser {
private TiffHeader readTiffHeader(final ByteSource byteSource) throws ImageReadException, IOException {
try (InputStream is = byteSource.getInputStream()) {
- final TiffHeader ret = readTiffHeader(is);
- return ret;
+ return readTiffHeader(is);
}
}