From 1fde03653c2c6a29590aef32c6876959e44e52e9 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Mon, 15 Dec 2008 07:27:27 +0000 Subject: [PATCH] * 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 --- hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java | 2 +- .../src/test/java/org/synyx/hera/core/SamplePluginHost.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java b/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java index 00a7009..259e87d 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java +++ b/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java @@ -51,7 +51,7 @@ public class PluginRegistry, S> implements Iterable { * @param * @return */ - public static , S> PluginRegistry create() { + public static > PluginRegistry create() { return new PluginRegistry(); } diff --git a/hera-core/src/test/java/org/synyx/hera/core/SamplePluginHost.java b/hera-core/src/test/java/org/synyx/hera/core/SamplePluginHost.java index 6fa37da..c85c2e2 100644 --- a/hera-core/src/test/java/org/synyx/hera/core/SamplePluginHost.java +++ b/hera-core/src/test/java/org/synyx/hera/core/SamplePluginHost.java @@ -6,7 +6,7 @@ package org.synyx.hera.core; public class SamplePluginHost { private PluginRegistry registry = - new PluginRegistry(); + PluginRegistry.create(); /**