You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2018/08/14 04:37:12 UTC
[1/2] commons-compress git commit: typo
Repository: commons-compress
Updated Branches:
refs/heads/master 9da94ed62 -> 0326bd90a
typo
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/356e1009
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/356e1009
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/356e1009
Branch: refs/heads/master
Commit: 356e1009a5b0ac7c4f8999aad1ea1aa25e30eb9d
Parents: 9da94ed
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Aug 14 06:11:12 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Aug 14 06:11:12 2018 +0200
----------------------------------------------------------------------
src/site/xdoc/index.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/356e1009/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 05a6ab1..10affee 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -74,7 +74,7 @@
using a mult-byte encoding.</li>
<li>ZipArchiveInputStream can now deal with APK files
containing an APK signing block.</li>
- <li>It is no possible to specifiy various parameters
+ <li>It is now possible to specifiy various parameters
for Zstd output.</li>
</ul>
</subsection>
[2/2] commons-compress git commit: suppress "Possible heap pollution"
warning
Posted by bo...@apache.org.
suppress "Possible heap pollution" warning
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/0326bd90
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/0326bd90
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/0326bd90
Branch: refs/heads/master
Commit: 0326bd90ac20652f1efd747a3c293a8110d109be
Parents: 356e100
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Aug 14 06:35:56 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Aug 14 06:35:56 2018 +0200
----------------------------------------------------------------------
src/main/java/org/apache/commons/compress/utils/Sets.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/0326bd90/src/main/java/org/apache/commons/compress/utils/Sets.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/Sets.java b/src/main/java/org/apache/commons/compress/utils/Sets.java
index 2998120..0a7921b 100644
--- a/src/main/java/org/apache/commons/compress/utils/Sets.java
+++ b/src/main/java/org/apache/commons/compress/utils/Sets.java
@@ -41,7 +41,8 @@ public class Sets {
* @param <E> type of elements contained in new set
* @return A new HasSet
*/
- public static <E> HashSet<E> newHashSet(@SuppressWarnings("unchecked") E... elements) {
+ @SafeVarargs
+ public static <E> HashSet<E> newHashSet(E... elements) {
final HashSet<E> set = new HashSet<>(elements.length);
Collections.addAll(set, elements);
return set;