Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2011 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2013 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 7-12
Link Here
|
7 |
* |
7 |
* |
8 |
* Contributors: |
8 |
* Contributors: |
9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
|
|
10 |
* Samrat Dhillon samrat.dhillon@gmail.com [rename] "Rename package" refactoring drops 2nd static import of method with same name but different signature https://bugs.eclipse.org/bugs/show_bug.cgi?id=420510 |
10 |
*******************************************************************************/ |
11 |
*******************************************************************************/ |
11 |
package org.eclipse.jdt.internal.corext.refactoring.rename; |
12 |
package org.eclipse.jdt.internal.corext.refactoring.rename; |
12 |
|
13 |
|
Lines 1081-1087
Link Here
|
1081 |
} |
1082 |
} |
1082 |
for (Iterator<String[]> iterator= importChange.fStaticToAdd.iterator(); iterator.hasNext();) { |
1083 |
for (Iterator<String[]> iterator= importChange.fStaticToAdd.iterator(); iterator.hasNext();) { |
1083 |
String[] toAdd= iterator.next(); |
1084 |
String[] toAdd= iterator.next(); |
1084 |
importRewrite.addStaticImport(toAdd[0], toAdd[1], true); |
1085 |
importRewrite.addStaticImport(toAdd[0], toAdd[1], false); |
1085 |
} |
1086 |
} |
1086 |
for (Iterator<String> iterator= importChange.fToAdd.iterator(); iterator.hasNext();) { |
1087 |
for (Iterator<String> iterator= importChange.fToAdd.iterator(); iterator.hasNext();) { |
1087 |
importRewrite.addImport(iterator.next()); |
1088 |
importRewrite.addImport(iterator.next()); |