aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/query2/output
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-01-19 14:03:29 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2016-01-19 16:40:57 +0000
commitb136315c05a87314e2b74b0a999512032c65d425 (patch)
treec4891b244092d16b8cbe69584711e87042e8b6cb /src/main/java/com/google/devtools/build/lib/query2/output
parent194489e1e3fd15556d51188bc3de2c9b445f0638 (diff)
Fileset (Google internal): code cleanup.
-- MOS_MIGRATED_REVID=112466264
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2/output')
-rw-r--r--src/main/java/com/google/devtools/build/lib/query2/output/XmlOutputFormatter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/output/XmlOutputFormatter.java b/src/main/java/com/google/devtools/build/lib/query2/output/XmlOutputFormatter.java
index 14fdfa604d..9f735e5903 100644
--- a/src/main/java/com/google/devtools/build/lib/query2/output/XmlOutputFormatter.java
+++ b/src/main/java/com/google/devtools/build/lib/query2/output/XmlOutputFormatter.java
@@ -127,7 +127,7 @@ class XmlOutputFormatter extends AbstractUnorderedFormatter {
* - 'name' attribute is target's label.
* - 'location' attribute is consistent with output of --output location.
* - rule attributes are represented in the DOM structure.
- * @throws InterruptedException
+ * @throws InterruptedException
*/
private Element createTargetElement(Document doc, Target target)
throws InterruptedException {
@@ -346,8 +346,8 @@ class XmlOutputFormatter extends AbstractUnorderedFormatter {
// Fileset entries: not configurable.
FilesetEntry filesetEntry = (FilesetEntry) Iterables.getOnlyElement(values);
elem = doc.createElement("fileset-entry");
- elem.setAttribute("srcdir", filesetEntry.getSrcLabel().toString());
- elem.setAttribute("destdir", filesetEntry.getDestDir().toString());
+ elem.setAttribute("srcdir", filesetEntry.getSrcLabel().toString());
+ elem.setAttribute("destdir", filesetEntry.getDestDir().toString());
elem.setAttribute("symlinks", filesetEntry.getSymlinkBehavior().toString());
elem.setAttribute("strip_prefix", filesetEntry.getStripPrefix());