Skip to content

Commit

Permalink
Also update Java for static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
louiswins committed Oct 4, 2017
1 parent edc6ad1 commit 961181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/JavaGenerator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class JavaGenerator(spec: Spec) extends Generator(spec) {
}
for (m <- i.methods if m.static) {
skipFirst { w.wl }
writeDoc(w, m.doc)
writeMethodDoc(w, m, idJava.local)
val ret = marshal.returnType(m.ret)
val params = m.params.map(p => {
val nullityAnnotation = marshal.nullityAnnotation(p.ty).map(_ + " ").getOrElse("")
Expand Down

0 comments on commit 961181a

Please sign in to comment.