mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Cosmetics.
This commit is contained in:
parent
3df7d3854f
commit
46b2750a00
1 changed files with 5 additions and 9 deletions
|
@ -9,7 +9,6 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Institute for Software - initial API and implementation
|
* Institute for Software - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.ui.refactoring.implementmethod;
|
package org.eclipse.cdt.internal.ui.refactoring.implementmethod;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -37,7 +36,6 @@ import org.eclipse.cdt.internal.ui.refactoring.utils.NodeHelper;
|
||||||
* Findes the information that are needed to tell where a MethodDefinition of a certain method declaration should be inserted.
|
* Findes the information that are needed to tell where a MethodDefinition of a certain method declaration should be inserted.
|
||||||
*
|
*
|
||||||
* @author Mirko Stocker, Lukas Felber
|
* @author Mirko Stocker, Lukas Felber
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class MethodDefinitionInsertLocationFinder {
|
public class MethodDefinitionInsertLocationFinder {
|
||||||
|
|
||||||
|
@ -86,7 +84,6 @@ public class MethodDefinitionInsertLocationFinder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IPath path = file.getLocation().removeFileExtension().addFileExtension("cpp"); //$NON-NLS-1$
|
IPath path = file.getLocation().removeFileExtension().addFileExtension("cpp"); //$NON-NLS-1$
|
||||||
IFile fileForLocation = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(path);
|
IFile fileForLocation = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(path);
|
||||||
|
|
||||||
|
@ -96,7 +93,6 @@ public class MethodDefinitionInsertLocationFinder {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Search the given class for all IASTSimpleDeclarations occuring before 'method' and return them in reverse order.
|
* Search the given class for all IASTSimpleDeclarations occuring before 'method' and return them in reverse order.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue