File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/org/culturegraph/mf/util/reflection Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,11 @@ public final Class<? extends O> getClass(final String name) {
92
92
public final Map <String , Class <?>> getAttributes (final String classKey ) {
93
93
if (classes .containsKey (classKey )) {
94
94
final Map <String , Class <?>> attributes = new HashMap <String , Class <?>>();
95
- for (Entry <String , Method > entry :classMethodMaps .get (classes .get (classKey )).entrySet ()){
95
+ final Set <Entry <String , Method >> entrySet = classMethodMaps .get (classes .get (classKey )).entrySet ();
96
+ for (Entry <String , Method > entry :entrySet ){
96
97
attributes .put (entry .getKey (), entry .getValue ().getParameterTypes ()[0 ]);
97
- return attributes ;
98
98
}
99
+ return attributes ;
99
100
}
100
101
return Collections .emptyMap ();
101
102
}
You can’t perform that action at this time.
0 commit comments