From 3555284de5c0f7fb279b506a323f78e8cb6225fe Mon Sep 17 00:00:00 2001 From: Darin Wright Date: Tue, 26 Oct 2010 14:08:13 +0000 Subject: Bug 328710 - Compiler warning - unused private field --- .../core/org/eclipse/debug/internal/core/XMLMemento.java | 10 +++++----- 1 file 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 = ""; //$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(); -- cgit v1.2.3