From 89f528fac70eb6079ac169a440339d94f1df52f7 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Mon, 3 May 2010 20:51:15 +0000 Subject: [PATCH] toString() added --- .../cdt/internal/core/settings/model/CDataProxy.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CDataProxy.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CDataProxy.java index 91cc82c79be..f2c0aa3548a 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CDataProxy.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CDataProxy.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 Intel Corporation and others. + * Copyright (c) 2007, 2010 Intel 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 @@ -170,4 +170,13 @@ public abstract class CDataProxy implements ICSettingObject { return projDes.getProject(); } + + /** + * This method is intended for debugging purpose only. + */ + @SuppressWarnings("nls") + @Override + public String toString() { + return "name=["+getName()+"], id=["+getId()+"]"; + } }