diff --git a/org.ntlab.refactoring.decouplingClasses/src/org/ntlab/refactoring/decouplingClasses/DecoupleClassesRefactoringProcessor.java b/org.ntlab.refactoring.decouplingClasses/src/org/ntlab/refactoring/decouplingClasses/DecoupleClassesRefactoringProcessor.java index b9efdf4..6f3f647 100644 --- a/org.ntlab.refactoring.decouplingClasses/src/org/ntlab/refactoring/decouplingClasses/DecoupleClassesRefactoringProcessor.java +++ b/org.ntlab.refactoring.decouplingClasses/src/org/ntlab/refactoring/decouplingClasses/DecoupleClassesRefactoringProcessor.java @@ -230,19 +230,19 @@ String newSource = document.get(); workingCopy.getBuffer().setContents(newSource); - change.add(new CreateNewClassChange(cu, document.get())); +// change.add(new CreateNewClassChange(cu, document.get())); workingCopy.discardWorkingCopy(); // TODO: �SCfrom�ɂ����Ő��������N���X��import����lj� // add refactor -// for(Node refactor : refactoringTasks) { -// RefactoringApplication app = (RefactoringApplication)refactor; -// app.setWrapperClass(typeDeclaration); -// app.setTargetClass(descriptor.getTargetType()); -// change.add(app); -// } + for(Node refactor : refactoringTasks) { + RefactoringApplication app = (RefactoringApplication)refactor; + app.setWrapperClass(typeDeclaration); + app.setTargetClass(descriptor.getTargetType()); + change.add(app); + } return change; }