mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
6b367bbecf
commit
4ab245e554
2 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ import org.eclipse.cdt.ui.tests.refactoring.utils.UtilTestSuite;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Emanuel Graf
|
* @author Emanuel Graf
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class RefactoringTestSuite extends TestSuite {
|
public class RefactoringTestSuite extends TestSuite {
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class CModelUtil {
|
||||||
return unit;
|
return unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ITranslationUnit toOriginal(ITranslationUnit unit){
|
public static ITranslationUnit toOriginal(ITranslationUnit unit) {
|
||||||
if (unit.isWorkingCopy()) {
|
if (unit.isWorkingCopy()) {
|
||||||
return (((IWorkingCopy) unit).getOriginalElement());
|
return (((IWorkingCopy) unit).getOriginalElement());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue