commit | 8a2f04c551c6da91e95e20d6a9e95d9468755d32 | [log] [tgz] |
---|---|---|
author | Gary D. Gregory <ggregory@apache.org> | Fri Dec 20 17:11:27 2013 +0000 |
committer | Gary D. Gregory <ggregory@apache.org> | Fri Dec 20 17:11:27 2013 +0000 |
tree | f6dec90d09e8a20ab0add45fb21a36b7e95363ea | |
parent | db4109f1c43a1ba65c005f6557107ce2124ae022 [diff] [blame] |
Remove some unnecessary parentheses. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1552740 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java index e2fe3bb..f4e41aa 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java
@@ -77,7 +77,7 @@ if (prevEntry == null || !haveUnclosedEntry){ throw new IOException("No current entry to close"); } - if ((entryOffset % 2) != 0) { + if (entryOffset % 2 != 0) { out.write('\n'); // Pad byte } haveUnclosedEntry = false; @@ -147,7 +147,7 @@ } offset = fill(offset, 16, ' '); - final String m = "" + (pEntry.getLastModified()); + final String m = "" + pEntry.getLastModified(); if (m.length() > 12) { throw new IOException("modified too long"); }