mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed Dakmor Ghoul CIP text.
- Added Chronatog, Kismet, Frozen AEther, Loxodon Gatekeeper, Gush.
- Removed warnings (mostly just by adding a @SuppressWarnings("unused"); ) from the JLayer libs.
- Removed some old commented out code of cards that have been replaced by keywords.
- Boreal Centaur and Knight of the Skyward Eye abilities can only be used once per turn now.
This commit is contained in:
@@ -50,7 +50,8 @@ public class FactoryRegistry extends AudioDeviceFactory
|
||||
}
|
||||
|
||||
|
||||
protected Hashtable factories = new Hashtable();
|
||||
@SuppressWarnings("unchecked")
|
||||
protected Hashtable<Class<? extends AudioDeviceFactory>, AudioDeviceFactory> factories = new Hashtable();
|
||||
|
||||
/**
|
||||
* Registers an <code>AudioDeviceFactory</code> instance
|
||||
@@ -61,7 +62,7 @@ public class FactoryRegistry extends AudioDeviceFactory
|
||||
factories.put(factory.getClass(), factory);
|
||||
}
|
||||
|
||||
public void removeFactoryType(Class cls)
|
||||
public void removeFactoryType(Class<?> cls)
|
||||
{
|
||||
factories.remove(cls);
|
||||
}
|
||||
@@ -111,7 +112,7 @@ public class FactoryRegistry extends AudioDeviceFactory
|
||||
{
|
||||
fa = new AudioDeviceFactory[size];
|
||||
int idx = 0;
|
||||
Enumeration e = factories.elements();
|
||||
Enumeration<AudioDeviceFactory> e = factories.elements();
|
||||
while (e.hasMoreElements())
|
||||
{
|
||||
AudioDeviceFactory factory = (AudioDeviceFactory)e.nextElement();
|
||||
|
||||
Reference in New Issue
Block a user