Skip to content

Commit

Permalink
Changing from uncheckedCast to cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jhickman committed Jan 14, 2022
1 parent d1bccad commit 56fffcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public String generate(TreeLogger logger, GeneratorContext context, String typeN
} else if (type.isClass() != null
&& elementalNode != null
&& type.isClass().isAssignableTo(elementalNode)) {
sw.print("jsinterop.base.Js.uncheckedCast(args.get(%1$d))", i,
sw.print("jsinterop.base.Js.cast(args.get(%1$d))", i,
type.getQualifiedSourceName());
} else if (type.isInterface() != null && oracle.getSingleJsoImplInterfaces()
.contains(type.isInterface())) {
Expand Down

0 comments on commit 56fffcf

Please sign in to comment.