Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Indenting XMLStreamWriter

* Some comments added
  • Loading branch information...
commit 4fb95b6d1da9f6b5834f068cef96a7a3a5e4e91e 1 parent 8ee3930
@netvl authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/clojure/clojure/data/xml.clj
View
5 src/main/clojure/clojure/data/xml.clj
@@ -409,7 +409,10 @@
With this macro it is possible to delegate multiple methods of some
interface/protocol to another object. Useful for creating wrappers, e.g. for
- java.io.OutputStream or java.xml.stream.XMLStreamWriter."
+ java.io.OutputStream or java.xml.stream.XMLStreamWriter.
+
+ Side-effect of this macro is that it is not possible to extend protocols which contain 'delegate-to' method
+ with it in other way than delegating."
[& args]
`(deftype
~@(mapcat
Please sign in to comment.
Something went wrong with that request. Please try again.