Project: JDT
Bug 77439 Pull up: strange change tree [refactoring] [pull up]
Reported: 2004-11-01 19:11:14 | Status: resolved fixed

I200410260800 package p1; public class Super { } ------------------------------------------------------------ package p1; import p2.B; public class A extends Super { int field= B.VALUE; } ------------------------------------------------------------ package p2; public class B { public static final int VALUE= 10; } Pull up field from A to Super and press preview. Observe that the change tree for A only contains an entry update imports. There should be one for removing/moving field as well.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java