Skip to content

Commit e82ff75

Browse files
committed
fix ambiguous reference
1 parent 6869f7c commit e82ff75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/yoml/BrooklynYomlTypeRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public Maybe<Object> newInstanceMaybe(String typeName, Yoml yoml, @Nonnull Regis
209209
// the create call will attach the loader of typeR
210210
nextContext.loader(null);
211211

212-
return Maybe.of(registry().create(typeR, nextContext.build(), null));
212+
return Maybe.of((Object) registry().create(typeR, nextContext.build(), null));
213213

214214
} else {
215215
// circular reference means load java, below

0 commit comments

Comments
 (0)