Krzysztof Daniel fcb15c3
--- eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsComparator.java.bak	2012-07-30 14:27:39.000000000 +0200
Krzysztof Daniel fcb15c3
+++ eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsComparator.java	2012-07-30 14:28:00.277726901 +0200
Krzysztof Daniel fcb15c3
@@ -182,7 +182,7 @@
Krzysztof Daniel fcb15c3
 					}
Krzysztof Daniel fcb15c3
 					int cmp;
Krzysztof Daniel fcb15c3
 					if (num1 instanceof Long && num2 instanceof Long) {
Krzysztof Daniel fcb15c3
-						cmp = ((Long)num1).compareTo(num2);
Krzysztof Daniel fcb15c3
+						cmp = ((Long)num1).compareTo((Long)num2);
Krzysztof Daniel fcb15c3
 					} else {
Krzysztof Daniel fcb15c3
 						cmp = Double.compare(num1.doubleValue(), num2.doubleValue());
Krzysztof Daniel fcb15c3
 					}
Krzysztof Daniel fcb15c3
--- eclipse.platform.debug/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java.bak	2012-07-25 17:26:39.000000000 +0200
Krzysztof Daniel fcb15c3
+++ eclipse.platform.debug/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java	2012-07-30 15:09:46.416687878 +0200
Krzysztof Daniel fcb15c3
@@ -853,7 +853,7 @@
Krzysztof Daniel fcb15c3
 	 */
Krzysztof Daniel fcb15c3
 	private boolean isEnabled(Object element) {
Krzysztof Daniel fcb15c3
 		if (element instanceof ICommand) {
Krzysztof Daniel fcb15c3
-			Boolean enabled= (Boolean)((ICommand) element).getArguments().get(COMMAND_ENABLED);
Krzysztof Daniel fcb15c3
+			Boolean enabled= (Boolean)(Object)((ICommand) element).getArguments().get(COMMAND_ENABLED);
Krzysztof Daniel fcb15c3
 			if (enabled != null) {
Krzysztof Daniel fcb15c3
 				return enabled.booleanValue();
Krzysztof Daniel fcb15c3
 			}