Skip to content

Commit

Permalink
refactor: remove redundant cast (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
zielint0 authored and pvojtechovsky committed Oct 20, 2018
1 parent 920d38e commit fe6e6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/spoon/reflect/factory/TypeFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public <T> void visitCtConstructor(CtConstructor<T> c) {
}
}
Visitor visitor = new Visitor();
((CtElement) formalTypeDeclarer).accept(visitor);
formalTypeDeclarer.accept(visitor);
return visitor.adapter;
}

Expand Down

0 comments on commit fe6e6e9

Please sign in to comment.