Skip to content

Commit f55d327

Browse files
committed
Make all with() methods static in Java
1 parent c2baa41 commit f55d327

File tree

1 file changed

+1
-0
lines changed
  • aztec/src/main/kotlin/org/wordpress/aztec

1 file changed

+1
-0
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/Aztec.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ open class Aztec private constructor(val visualEditor: AztecText, val toolbar: A
6060
return Aztec(visualEditor, sourceEditor, toolbar, toolbarClickListener)
6161
}
6262

63+
@JvmStatic
6364
fun with(visualEditor: AztecText, toolbar: AztecToolbar, toolbarClickListener: IAztecToolbarClickListener) : Aztec {
6465
return Aztec(visualEditor, toolbar, toolbarClickListener)
6566
}

0 commit comments

Comments
 (0)