mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
Adjusted comment.
This commit is contained in:
parent
4ab245e554
commit
bb4d695756
1 changed files with 3 additions and 3 deletions
|
@ -28,9 +28,9 @@ import org.eclipse.cdt.internal.ui.util.EditorUtility;
|
||||||
|
|
||||||
public class CModelUtil {
|
public class CModelUtil {
|
||||||
/**
|
/**
|
||||||
* Returns the working copy CU of the given CU. If the CU is already a
|
* Returns the working copy TU of the given TU. If the TU is already a
|
||||||
* working copy or the CU has no working copy the input CU is returned.
|
* working copy or the TU has no working copy the input TU is returned.
|
||||||
*/
|
*/
|
||||||
public static ITranslationUnit toWorkingCopy(ITranslationUnit unit) {
|
public static ITranslationUnit toWorkingCopy(ITranslationUnit unit) {
|
||||||
if (!unit.isWorkingCopy()) {
|
if (!unit.isWorkingCopy()) {
|
||||||
ITranslationUnit workingCopy= EditorUtility.getWorkingCopy(unit);
|
ITranslationUnit workingCopy= EditorUtility.getWorkingCopy(unit);
|
||||||
|
|
Loading…
Add table
Reference in a new issue