Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-16 23:19:39 +0000
committerSergey Prigogin2011-05-16 23:19:39 +0000
commit379dcc20dd5d69b6de4f41dcb96ec88dad492530 (patch)
treea1450220c3eac876587c7f789eb0c7402fc4a730
parent1f33df1de46b848d8ad54a2b44c75118f468222b (diff)
downloadorg.eclipse.cdt-379dcc20dd5d69b6de4f41dcb96ec88dad492530.tar.gz
org.eclipse.cdt-379dcc20dd5d69b6de4f41dcb96ec88dad492530.tar.xz
org.eclipse.cdt-379dcc20dd5d69b6de4f41dcb96ec88dad492530.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/TranslationUnit.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/TranslationUnit.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
index 0e8792a564..f57924b011 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
@@ -111,7 +111,7 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
}
public TranslationUnit(ICElement parent, URI uri, String idType) {
- super(parent, (IResource)null, uri.toString(), ICElement.C_UNIT);
+ super(parent, (IResource) null, uri.toString(), ICElement.C_UNIT);
location= uri;
setContentTypeID(idType);
}
@@ -120,8 +120,8 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
return this;
}
- public IInclude createInclude(String includeName, boolean isStd, ICElement sibling, IProgressMonitor monitor)
- throws CModelException {
+ public IInclude createInclude(String includeName, boolean isStd, ICElement sibling,
+ IProgressMonitor monitor) throws CModelException {
CreateIncludeOperation op = new CreateIncludeOperation(includeName, isStd, this);
if (sibling != null) {
op.createBefore(sibling);
@@ -130,7 +130,8 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
return getInclude(includeName);
}
- public IUsing createUsing(String usingName, boolean isDirective, ICElement sibling, IProgressMonitor monitor) throws CModelException {
+ public IUsing createUsing(String usingName, boolean isDirective, ICElement sibling,
+ IProgressMonitor monitor) throws CModelException {
CreateIncludeOperation op = new CreateIncludeOperation(usingName, isDirective, this);
if (sibling != null) {
op.createBefore(sibling);
@@ -139,7 +140,8 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
return getUsing(usingName);
}
- public INamespace createNamespace(String namespace, ICElement sibling, IProgressMonitor monitor) throws CModelException {
+ public INamespace createNamespace(String namespace, ICElement sibling,
+ IProgressMonitor monitor) throws CModelException {
CreateNamespaceOperation op = new CreateNamespaceOperation(namespace, this);
if (sibling != null) {
op.createBefore(sibling);

Back to the top