Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 475797 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/internal/content/ContentMessages.java (+1 lines)
Lines 47-52 Link Here
47
	 * Pre-pend the message with the current date and the name of the current thread.
47
	 * Pre-pend the message with the current date and the name of the current thread.
48
	 */
48
	 */
49
	public static void message(String message) {
49
	public static void message(String message) {
50
		System.out.println("Workspace Bundle called"); //$NON-NLS-1$
50
		StringBuffer buffer = new StringBuffer();
51
		StringBuffer buffer = new StringBuffer();
51
		buffer.append(new Date(System.currentTimeMillis()));
52
		buffer.append(new Date(System.currentTimeMillis()));
52
		buffer.append(" - ["); //$NON-NLS-1$
53
		buffer.append(" - ["); //$NON-NLS-1$
(-)a/bundles/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs (-1 / +1 lines)
Lines 35-41 Link Here
35
org.eclipse.jdt.core.compiler.problem.deprecation=warning
35
org.eclipse.jdt.core.compiler.problem.deprecation=warning
36
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
36
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
37
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
37
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
38
org.eclipse.jdt.core.compiler.problem.discouragedReference=error
38
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
39
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
39
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
40
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
40
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
41
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
41
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
(-)a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/preferences/legacy/maincla.java (+13 lines)
Added Link Here
1
package org.eclipse.core.internal.preferences.legacy;
2
import org.eclipse.core.internal.content.ContentMessages;
3
4
public class maincla {
5
6
	public static void main(String[] args) {
7
8
		ContentMessages c = new ContentMessages();
9
		c.message("");
10
11
	}
12
13
}

Return to bug 475797