[xmlsectool] branch master updated: Remove redundant type specifiers
Ian Young
ian at iay.org.uk
Mon Mar 16 12:39:47 EDT 2020
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository xmlsectool.
View the commit online:
http://git.shibboleth.net/view/?p=xmlsectool.git;a=commit;h=068340f96e127ca66bb22cb549ef37c1f1f0bb9e
The following commit(s) were added to refs/heads/master by this push:
new 068340f Remove redundant type specifiers
068340f is described below
commit 068340f96e127ca66bb22cb549ef37c1f1f0bb9e
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Mar 16 16:39:43 2020 +0000
Remove redundant type specifiers
---
src/main/java/net/shibboleth/tool/xmlsectool/Blacklist.java | 4 ++--
src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/Blacklist.java b/src/main/java/net/shibboleth/tool/xmlsectool/Blacklist.java
index f5b023f..8d3e726 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/Blacklist.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/Blacklist.java
@@ -34,12 +34,12 @@ public class Blacklist {
/**
* Ordered set of blacklisted digest algorithm URIs.
*/
- private final Set<String> digestBlacklist = new TreeSet<String>();
+ private final Set<String> digestBlacklist = new TreeSet<>();
/**
* Ordered set of blacklisted signature algorithm URIs.
*/
- private final Set<String> signatureBlacklist = new TreeSet<String>();
+ private final Set<String> signatureBlacklist = new TreeSet<>();
/**
* Constructor.
diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java b/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
index 78fecce..63b4422 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
@@ -943,7 +943,7 @@ public final class XMLSecTool {
return Collections.emptyList();
}
- final ArrayList<X509CRL> crls = new ArrayList<X509CRL>();
+ final ArrayList<X509CRL> crls = new ArrayList<>();
File crlFile = null;
try {
for (final String crlFilePath : keyInfoCrls) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list