diff options
author | Darin Wright | 2010-10-26 14:08:13 +0000 |
---|---|---|
committer | Darin Wright | 2010-10-26 14:08:13 +0000 |
commit | 3555284de5c0f7fb279b506a323f78e8cb6225fe (patch) | |
tree | a6c058b11bf9b7d1bcdf3099f980773dba58a091 /org.eclipse.debug.core | |
parent | c5a6f4192e26cbb8c20d41a06b66e25398d460f3 (diff) | |
download | eclipse.platform.debug-3555284de5c0f7fb279b506a323f78e8cb6225fe.tar.gz eclipse.platform.debug-3555284de5c0f7fb279b506a323f78e8cb6225fe.tar.xz eclipse.platform.debug-3555284de5c0f7fb279b506a323f78e8cb6225fe.zip |
Bug 328710 - Compiler warning - unused private field
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java index 6daf96598..65081fd3a 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/XMLMemento.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -460,7 +460,7 @@ public final class XMLMemento { */ private static final class DOMWriter extends PrintWriter { - private int tab; +// private int tab; /* constants */ private static final String XML_VERSION = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; //$NON-NLS-1$ @@ -472,7 +472,7 @@ public final class XMLMemento { */ public DOMWriter(Writer output) { super(output); - tab = 0; +// tab = 0; println(XML_VERSION); } @@ -488,7 +488,7 @@ public final class XMLMemento { boolean hasChildren = element.hasChildNodes(); startTag(element, hasChildren); if (hasChildren) { - tab++; +// tab++; boolean prevWasText = false; NodeList children = element.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { @@ -506,7 +506,7 @@ public final class XMLMemento { prevWasText = true; } } - tab--; +// tab--; if (!prevWasText) { println(); printTabulation(); |