@@ -30,7 +30,7 @@ public final class CryptoServicesRegistrar
3030
3131
3232 private static final ThreadLocal threadProperties = new ThreadLocal ();
33- private static final Map < String , Object []> globalProperties = Collections .synchronizedMap (new HashMap < String , Object []> ());
33+ private static final Map globalProperties = Collections .synchronizedMap (new HashMap ());
3434
3535 private static final Object cacheLock = new Object ();
3636 private static SecureRandomProvider defaultSecureRandomProvider ;
@@ -280,7 +280,7 @@ public static Object getProperty(Property property)
280280
281281 private static Object [] lookupProperty (Property property )
282282 {
283- Map < String , Object []> properties = (Map < String , Object []> )threadProperties .get ();
283+ Map properties = (Map )threadProperties .get ();
284284 Object [] values ;
285285
286286 if (properties == null || !properties .containsKey (property .name ))
@@ -399,11 +399,11 @@ public static void setGlobalProperty(Property property, Object[] propertyValue)
399399
400400 private static void localSetThread (Property property , Object [] propertyValue )
401401 {
402- Map < String , Object []> properties = (Map < String , Object []> )threadProperties .get ();
402+ Map properties = (Map )threadProperties .get ();
403403
404404 if (properties == null )
405405 {
406- properties = new HashMap < String , Object []> ();
406+ properties = new HashMap ();
407407 threadProperties .set (properties );
408408 }
409409
@@ -456,11 +456,11 @@ public static Object[] clearThreadProperty(Property property)
456456
457457 private static Object [] localClearThreadProperty (Property property )
458458 {
459- Map < String , Object []> properties = (Map < String , Object []> )threadProperties .get ();
459+ Map properties = (Map )threadProperties .get ();
460460
461461 if (properties == null )
462462 {
463- properties = new HashMap < String , Object []> ();
463+ properties = new HashMap ();
464464 threadProperties .set (properties );
465465 }
466466
@@ -473,7 +473,7 @@ private static void checkPermission(final Permission permission)
473473
474474 if (securityManager != null )
475475 {
476- AccessController .doPrivileged (new PrivilegedAction < Object > ()
476+ AccessController .doPrivileged (new PrivilegedAction ()
477477 {
478478 public Object run ()
479479 {
0 commit comments