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 143229 | Differences between
and this patch

Collapse All | Expand All

(-)j2ee_ui/org/eclipse/jst/j2ee/internal/ui/J2EEPropertiesPage.java (-1 / +1 lines)
Lines 173-179 Link Here
173
            bValid = false;
173
            bValid = false;
174
        }
174
        }
175
175
176
        if (!name.contains(" ")) {
176
        if (!(name.indexOf(' ') > -1)) {
177
            StringTokenizer stok = new StringTokenizer(name, "."); //$NON-NLS-1$
177
            StringTokenizer stok = new StringTokenizer(name, "."); //$NON-NLS-1$
178
            outer : while (stok.hasMoreTokens()) {
178
            outer : while (stok.hasMoreTokens()) {
179
                String token = stok.nextToken();
179
                String token = stok.nextToken();
(-).settings/org.eclipse.jdt.core.prefs (+12 lines)
Added Link Here
1
#Thu Jun 08 00:49:36 EDT 2006
2
eclipse.preferences.version=1
3
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
4
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6
org.eclipse.jdt.core.compiler.compliance=1.4
7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
11
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
12
org.eclipse.jdt.core.compiler.source=1.3
(-)modulecore-src/org/eclipse/wst/common/componentcore/internal/impl/WTPResourceFactoryRegistry.java (-1 / +1 lines)
Lines 71-77 Link Here
71
		
71
		
72
		if(LOG_WARNINGS) {
72
		if(LOG_WARNINGS) {
73
			/* the third entry in the array is this stack frame, we walk back from there. */
73
			/* the third entry in the array is this stack frame, we walk back from there. */
74
			StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
74
			StackTraceElement[] stackTrace = (new Exception()).getStackTrace();
75
			if(stackTrace.length > 4) {
75
			if(stackTrace.length > 4) {
76
				StringBuffer warningMessage = new StringBuffer("WTPResourceFactoryRegistry.registerLastFileSegment() was called explicitly from " + stackTrace[3]);
76
				StringBuffer warningMessage = new StringBuffer("WTPResourceFactoryRegistry.registerLastFileSegment() was called explicitly from " + stackTrace[3]);
77
				warningMessage.append("\nThis happened around: \n");
77
				warningMessage.append("\nThis happened around: \n");

Return to bug 143229