1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-04-04 17:25:12 +00:00
parent 2a47366a32
commit 411047a2e4

View file

@ -162,10 +162,12 @@ public class CModelBuilder2 implements IContributedModelBuilder {
startTime= System.currentTimeMillis(); startTime= System.currentTimeMillis();
buildModel(ast); buildModel(ast);
elementInfo.setIsStructureKnown(true); elementInfo.setIsStructureKnown(true);
if (DEBUG) Util.debugLog("CModelBuilder2: building " //$NON-NLS-1$ if (DEBUG) {
Util.debugLog("CModelBuilder2: building " //$NON-NLS-1$
+ "children=" + elementInfo.internalGetChildren().size() //$NON-NLS-1$ + "children=" + elementInfo.internalGetChildren().size() //$NON-NLS-1$
+ " time=" + (System.currentTimeMillis() - startTime) + "ms", //$NON-NLS-1$ //$NON-NLS-2$ + " time=" + (System.currentTimeMillis() - startTime) + "ms", //$NON-NLS-1$ //$NON-NLS-2$
DebugLogConstants.MODEL, false); DebugLogConstants.MODEL, false);
}
if (elementInfo instanceof ASTHolderTUInfo) { if (elementInfo instanceof ASTHolderTUInfo) {
((ASTHolderTUInfo) elementInfo).fAST= ast; ((ASTHolderTUInfo) elementInfo).fAST= ast;
@ -1289,5 +1291,4 @@ public class CModelBuilder2 implements IContributedModelBuilder {
} }
return null; return null;
} }
} }