Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManju Mathew2013-10-03 12:46:08 +0000
committerManju Mathew2013-10-03 12:46:08 +0000
commit446f309817085d3d1ee3d5c868acb9b7eaaf9ad4 (patch)
tree3a38d1783414382a29cfeac8cc323a7d2ce8f556
parent6ab6993eaa428b3a730cfb2e733cccd5532cf142 (diff)
downloadeclipse.jdt.ui-446f309817085d3d1ee3d5c868acb9b7eaaf9ad4.tar.gz
eclipse.jdt.ui-446f309817085d3d1ee3d5c868acb9b7eaaf9ad4.tar.xz
eclipse.jdt.ui-446f309817085d3d1ee3d5c868acb9b7eaaf9ad4.zip
Fixed Bug 418384: [ltk] junit.framework.ComparisonFailure: Unexpected
failure
-rw-r--r--org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/MockRefactoringDescriptor.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/MockRefactoringDescriptor.java b/org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/MockRefactoringDescriptor.java
index 3c666da15a..d8647baf9d 100644
--- a/org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/MockRefactoringDescriptor.java
+++ b/org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/MockRefactoringDescriptor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation and others.
+ * Copyright (c) 2006, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,7 @@ package org.eclipse.ltk.core.refactoring.tests.history;
import java.util.HashMap;
import java.util.Map;
+import java.util.TreeMap;
import org.eclipse.core.runtime.CoreException;
@@ -67,7 +68,7 @@ public class MockRefactoringDescriptor extends RefactoringDescriptor {
buffer.append(",comment="); //$NON-NLS-1$
buffer.append(getComment());
buffer.append(",arguments="); //$NON-NLS-1$
- buffer.append(getArguments());
+ buffer.append(new TreeMap(getArguments()));
buffer.append(",flags="); //$NON-NLS-1$
buffer.append(getFlags());
buffer.append("]"); //$NON-NLS-1$

Back to the top