Skip to content

Commit ac955f6

Browse files
committed
fix formatting issues in java interop page
1 parent 412aec4 commit ac955f6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/reference/java_interop.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ Classname/staticField ==> (. Classname staticField)
5555
*(_._ instance-expr member-symbol)*
5656
*(_._ Classname-symbol member-symbol)*
5757
*(_._ instance-expr -field-symbol)*
58-
*(_._ instance-expr (method-symbol args*))* or *(_._ instance-expr method-symbol args*)*
59-
*(_._ Classname-symbol (method-symbol args*))* or *(_._ Classname-symbol method-symbol args*)*
58+
**(_._ instance-expr (method-symbol args*))** or **(_._ instance-expr method-symbol args*)**
59+
**(_._ Classname-symbol (method-symbol args*))** or **(_._ Classname-symbol method-symbol args*)**
6060

6161
Special form.
6262

@@ -96,7 +96,7 @@ but is easier to write, read, and understand. See also the https://clojure.githu
9696

9797
''''
9898

99-
*(_doto_ instance-expr (instanceMethodName-symbol args*)*)*
99+
**(_doto_ instance-expr (instanceMethodName-symbol args*)*)**
100100

101101
Macro. Evaluates instance-expr then calls all of the methods/functions with the supplied arguments in succession on the resulting object, returning it.
102102

@@ -110,8 +110,8 @@ Macro. Evaluates instance-expr then calls all of the methods/functions with the
110110
''''
111111

112112
[%hardbreaks]
113-
*(Classname. args*)*
114-
*(_new_ Classname args*)*
113+
**(Classname. args*)**
114+
**(_new_ Classname args*)**
115115

116116
Special form.
117117

@@ -152,7 +152,7 @@ Note - _you cannot assign to function params or local bindings. Only Java fields
152152

153153
''''
154154

155-
*(_memfn_ method-name arg-names*)*
155+
**(_memfn_ method-name arg-names*)**
156156

157157
Macro. Expands into code that creates a fn that expects to be passed an object and any args and calls the named instance method on the object passing the args. Use when you want to treat a Java method as a first-class fn.
158158

0 commit comments

Comments
 (0)