javadoc: null val means no attr

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@883240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-11-23 04:09:01 +00:00
parent ace3e15d0d
commit 8e00a81064
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ final public class XMLWriter {
defaultIndent = doIndent;
}
/** Writes the XML attribute name/val. A null val means that the attribute is missing. */
public void writeAttr(String name, String val) throws IOException {
if (val != null) {
writer.write(' ');