Permalink
Browse files

Indenting XMLStreamWriter

* Some comments added
  • Loading branch information...
1 parent 8ee3930 commit 4fb95b6d1da9f6b5834f068cef96a7a3a5e4e91e @netvl committed Dec 18, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit 4fb95b6

Please sign in to comment.