View | Details | Raw Unified | Return to bug 386149 | Differences between
and this patch

Collapse All | Expand All

(-)a/core/plugins/org.eclipse.dltk.debug/.settings/org.eclipse.jdt.ui.prefs (-1 / +5 lines)
Lines 1-4 Link Here
1
#Tue Apr 29 16:17:33 CEST 2008
2
eclipse.preferences.version=1
1
eclipse.preferences.version=1
3
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
2
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
4
formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile
3
formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile
Lines 7-24 Link Here
7
sp_cleanup.add_generated_serial_version_id=false
6
sp_cleanup.add_generated_serial_version_id=false
8
sp_cleanup.add_missing_annotations=true
7
sp_cleanup.add_missing_annotations=true
9
sp_cleanup.add_missing_deprecated_annotations=true
8
sp_cleanup.add_missing_deprecated_annotations=true
9
sp_cleanup.add_missing_methods=false
10
sp_cleanup.add_missing_nls_tags=false
10
sp_cleanup.add_missing_nls_tags=false
11
sp_cleanup.add_missing_override_annotations=true
11
sp_cleanup.add_missing_override_annotations=true
12
sp_cleanup.add_missing_override_annotations_interface_methods=false
12
sp_cleanup.add_serial_version_id=false
13
sp_cleanup.add_serial_version_id=false
13
sp_cleanup.always_use_blocks=true
14
sp_cleanup.always_use_blocks=true
14
sp_cleanup.always_use_parentheses_in_expressions=false
15
sp_cleanup.always_use_parentheses_in_expressions=false
15
sp_cleanup.always_use_this_for_non_static_field_access=false
16
sp_cleanup.always_use_this_for_non_static_field_access=false
16
sp_cleanup.always_use_this_for_non_static_method_access=false
17
sp_cleanup.always_use_this_for_non_static_method_access=false
17
sp_cleanup.convert_to_enhanced_for_loop=false
18
sp_cleanup.convert_to_enhanced_for_loop=false
19
sp_cleanup.correct_indentation=false
18
sp_cleanup.format_source_code=true
20
sp_cleanup.format_source_code=true
21
sp_cleanup.format_source_code_changes_only=true
19
sp_cleanup.make_local_variable_final=false
22
sp_cleanup.make_local_variable_final=false
20
sp_cleanup.make_parameters_final=false
23
sp_cleanup.make_parameters_final=false
21
sp_cleanup.make_private_fields_final=true
24
sp_cleanup.make_private_fields_final=true
25
sp_cleanup.make_type_abstract_if_missing_method=false
22
sp_cleanup.make_variable_declarations_final=true
26
sp_cleanup.make_variable_declarations_final=true
23
sp_cleanup.never_use_blocks=false
27
sp_cleanup.never_use_blocks=false
24
sp_cleanup.never_use_parentheses_in_expressions=true
28
sp_cleanup.never_use_parentheses_in_expressions=true
(-)a/core/plugins/org.eclipse.dltk.debug/src/org/eclipse/dltk/internal/debug/core/model/ScriptValue.java (-4 / +8 lines)
Lines 123-132 Link Here
123
				variables[offset + i] = new ScriptVariable(frame, p.getName(),
123
				variables[offset + i] = new ScriptVariable(frame, p.getName(),
124
						p);
124
						p);
125
			}
125
			}
126
			Arrays.sort(this.variables, offset, offset + size,
127
					ScriptDebugManager.getInstance()
128
							.getVariableNameComparatorByDebugModel(
129
									getDebugTarget().getModelIdentifier()));
130
		}
126
		}
131
		Assert.isLegal(pageSize > 0 || properties.length == variables.length);
127
		Assert.isLegal(pageSize > 0 || properties.length == variables.length);
132
	}
128
	}
Lines 256-261 Link Here
256
		for (int i = 0; i < length; i++) {
252
		for (int i = 0; i < length; i++) {
257
			variables[i] = getVariable(offset + i);
253
			variables[i] = getVariable(offset + i);
258
		}
254
		}
255
		// Sorting all the variables at the last moment
256
		Arrays.sort(
257
				variables,
258
				0,
259
				variables.length,
260
				ScriptDebugManager.getInstance()
261
						.getVariableNameComparatorByDebugModel(
262
								getDebugTarget().getModelIdentifier()));
259
		return variables;
263
		return variables;
260
	}
264
	}
261
265

Return to bug 386149