Skip to content

Commit

Permalink
Merge pull request #5892 from chrisrueger/fix-package-rename
Browse files Browse the repository at this point in the history
Remove usage of internal class RenamePackageProcessor
  • Loading branch information
kriegfrj authored Nov 15, 2023
2 parents 02be440 + 6e0f254 commit 79b73f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bndtools.core/src/bndtools/refactor/PkgRenameParticipant.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenamePackageProcessor;
import org.eclipse.ltk.core.refactoring.Change;
import org.eclipse.ltk.core.refactoring.CompositeChange;
import org.eclipse.ltk.core.refactoring.RefactoringStatus;
Expand Down Expand Up @@ -66,8 +65,6 @@ protected boolean initialize(Object element) {
sb.append("Bndtools: rename package '");
sb.append(pkgFragment.getElementName());
sb.append("' ");
if (((RenamePackageProcessor) this.getProcessor()).getRenameSubpackages())
sb.append("and subpackages ");
sb.append("to '");
sb.append(args.getNewName());
sb.append("'");
Expand Down

0 comments on commit 79b73f2

Please sign in to comment.