[jbosstools-commits] JBoss Tools SVN: r43725 - in trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common: databinding and 3 other directories.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Sep 14 20:07:15 EDT 2012
Author: dgolovin
Date: 2012-09-14 20:07:14 -0400 (Fri, 14 Sep 2012)
New Revision: 43725
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/databinding/IObservablePojo.java
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/reporting/ProblemBuffer.java
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/text/INodeReference.java
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLEntityResolver.java
Log:
missing copyright comments were added
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java 2012-09-14 23:58:25 UTC (rev 43724)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/core/CommonCorePlugin.java 2012-09-15 00:07:14 UTC (rev 43725)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.tools.common.core;
import java.io.File;
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/databinding/IObservablePojo.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/databinding/IObservablePojo.java 2012-09-14 23:58:25 UTC (rev 43724)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/databinding/IObservablePojo.java 2012-09-15 00:07:14 UTC (rev 43725)
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
package org.jboss.tools.common.databinding;
import java.beans.PropertyChangeListener;
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/reporting/ProblemBuffer.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/reporting/ProblemBuffer.java 2012-09-14 23:58:25 UTC (rev 43724)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/reporting/ProblemBuffer.java 2012-09-15 00:07:14 UTC (rev 43725)
@@ -15,11 +15,6 @@
import org.eclipse.core.runtime.Platform;
import org.jboss.tools.common.util.FileUtils;
import org.osgi.framework.Bundle;
-//import org.eclipse.core.internal.runtime.PlatformLogWriter;
-//import org.eclipse.core.runtime.ILogListener;
-//import org.eclipse.core.runtime.IStatus;
-//import org.eclipse.core.runtime.adaptor.EclipseLog;
-//import org.eclipse.osgi.framework.log.FrameworkLog;
/**
* This class is intended only to be called by Report Problem Framework.
@@ -29,17 +24,7 @@
ProblemBuffer() {}
- //TODO remove dead commented code.
/**
- * IProblemReporter implementation.
- * @param status
- */
-// public void writeToBuffer(IStatus status) {
-// getEclipseLog();
-// writer.logging(status, "org.jboss.tools.common"); //$NON-NLS-1$
-// }
-
- /**
* Returns number of entries in .log file.
* @return number of entries in .log file
*/
@@ -102,17 +87,6 @@
String reportText = sb.toString();
Submit.getInstance().submit(reportText, cleanBuffer);
}
-
-// FrameworkLog log;
-// ILogListener writer;
-
-// private FrameworkLog getEclipseLog() {
-// if(log == null) {
-// log = new EclipseLog(getLogFile());
-// writer = new PlatformLogWriter(log);
-// }
-// return log;
-// }
private File getLogFile() {
Bundle b = Platform.getBundle("org.jboss.tools.common"); //$NON-NLS-1$
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/text/INodeReference.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/text/INodeReference.java 2012-09-14 23:58:25 UTC (rev 43724)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/text/INodeReference.java 2012-09-15 00:07:14 UTC (rev 43725)
@@ -10,7 +10,6 @@
******************************************************************************/
package org.jboss.tools.common.text;
-
/**
* Represents a reference to XML node. For example there is
* <class>
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLEntityResolver.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLEntityResolver.java 2012-09-14 23:58:25 UTC (rev 43724)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLEntityResolver.java 2012-09-15 00:07:14 UTC (rev 43725)
@@ -1,9 +1,15 @@
-/*
- * XMLEntityResolver.java
- * Created on February 21, 2003, 9:38 AM
- */
+/*******************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ **/
+package org.jboss.tools.common.xml;
-package org.jboss.tools.common.xml;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.URL;
More information about the jbosstools-commits
mailing list