summaryrefslogtreecommitdiff
path: root/gnu/java/security/hash/HashFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/java/security/hash/HashFactory.java')
-rw-r--r--gnu/java/security/hash/HashFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/java/security/hash/HashFactory.java b/gnu/java/security/hash/HashFactory.java
index 1210ff4db..688afc4c9 100644
--- a/gnu/java/security/hash/HashFactory.java
+++ b/gnu/java/security/hash/HashFactory.java
@@ -1,5 +1,5 @@
/* HashFactory.java --
- Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2006, 2014 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -114,9 +114,9 @@ public class HashFactory
*
* @return a {@link Set} of hash names (Strings).
*/
- public static final Set getNames()
+ public static final Set<String> getNames()
{
- HashSet hs = new HashSet();
+ HashSet<String> hs = new HashSet<String>();
hs.add(Registry.WHIRLPOOL_HASH);
hs.add(Registry.RIPEMD128_HASH);
hs.add(Registry.RIPEMD160_HASH);