* moved annotation to more appropriate type

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@6980 5a64d73e-33d6-4ccc-9058-23f8668ecac9
This commit is contained in:
Oliver Gierke
2009-09-23 12:53:39 +00:00
parent b31c041da8
commit 137c0e7442

View File

@@ -66,9 +66,9 @@ public abstract class AbstractTypeAwareSupport<T> implements
*
* @return
*/
@SuppressWarnings("unchecked")
protected List<T> getBeans() {
@SuppressWarnings("unchecked")
Map<String, T> pluginMap = context.getBeansOfType(type);
return new ArrayList<T>(pluginMap.values());