src/share/classes/javax/sql/rowset/spi/SyncFactory.java
Print this page
@@ -255,11 +255,11 @@
/**
* The registry of available <code>SyncProvider</code> implementations.
* See section 2.0 of the class comment for <code>SyncFactory</code> for an
* explanation of how a provider can be added to this registry.
*/
- private static Hashtable implementations;
+ private static Hashtable<String, SyncProvider> implementations;
/**
* Internal sync object used to maintain the SPI as a singleton
*/
private static Object logSync = new Object();
/**
@@ -342,11 +342,11 @@
// file, translate names into Class objects using Class.forName
// and store mappings
Properties properties = new Properties();
if (implementations == null) {
- implementations = new Hashtable();
+ implementations = new Hashtable<String, SyncProvider>();
try {
// check if user is supplying his Synchronisation Provider
// Implementation if not using Oracle's implementation.