Skip to content

Commit

Permalink
review fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtj0928 committed Oct 31, 2018
1 parent 27fb71f commit 809ac45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ private GeneratedAST<ProductSourcePath> createGeneratedAST(final GeneratedSource
}

@SuppressWarnings("unchecked")
private List<Statement> createStatement(final GeneratedAST generatedAST) {
final CompilationUnit root = ((GeneratedJDTAST) generatedAST).getRoot();
private List<Statement> createStatement(final GeneratedAST<ProductSourcePath> generatedAST) {
final CompilationUnit root = ((GeneratedJDTAST<ProductSourcePath>) generatedAST).getRoot();
final List<TypeDeclaration> types = root.types();
final TypeDeclaration typeRoot = types.get(0);

Expand Down

0 comments on commit 809ac45

Please sign in to comment.