mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 19:15:06 +00:00
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:
parent
ace3e15d0d
commit
8e00a81064
@ -186,6 +186,7 @@ final public class XMLWriter {
|
|||||||
defaultIndent = doIndent;
|
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 {
|
public void writeAttr(String name, String val) throws IOException {
|
||||||
if (val != null) {
|
if (val != null) {
|
||||||
writer.write(' ');
|
writer.write(' ');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user