* changed method signature of {{{PluginRegistry.create()}}} to make it work on javac (possible compiler bug - see: http://bugs.sun.com/view_bug.do?bug_id=6192945)

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@3750 5a64d73e-33d6-4ccc-9058-23f8668ecac9
This commit is contained in:
Oliver Gierke
2008-12-15 07:27:27 +00:00
parent 1aef972a65
commit 1fde03653c
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ public class PluginRegistry<T extends Plugin<S>, S> implements Iterable<T> {
* @param <S>
* @return
*/
public static <T extends Plugin<S>, S> PluginRegistry<T, S> create() {
public static <S, T extends Plugin<S>> PluginRegistry<T, S> create() {
return new PluginRegistry<T, S>();
}

View File

@@ -6,7 +6,7 @@ package org.synyx.hera.core;
public class SamplePluginHost {
private PluginRegistry<SamplePlugin, String> registry =
new PluginRegistry<SamplePlugin, String>();
PluginRegistry.create();
/**