Skip to content

Commit

Permalink
fix compilation fails when interfaces generation is set to false #37
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Klingsporn committed Mar 12, 2018
1 parent 0973629 commit f936a65
Show file tree
Hide file tree
Showing 68 changed files with 318 additions and 554 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public String getJavaClassExtends(Definition definition, Mode mode){
@Override
public List<String> getJavaClassImplements(Definition definition, Mode mode) {
List<String> javaClassImplements = super.getJavaClassImplements(definition, mode);
if(mode.equals(Mode.INTERFACE)){
if(mode.equals(Mode.INTERFACE) || mode.equals(Mode.POJO) || mode.equals(Mode.RECORD)){
//let POJO and RECORD also implement VertxPojo to fix #37
javaClassImplements.add(VertxPojo.class.getName());
}
return javaClassImplements;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f936a65

Please sign in to comment.