avoid unused trace +review CR-IC @denis.zhdanov

This commit is contained in:
Maxim.Mossienko
2013-02-14 18:13:48 +01:00
parent a15e59e7d0
commit 219269fcae
2 changed files with 1 additions and 11 deletions
@@ -61,6 +61,7 @@ class InitialInfoBuilder {
private ReadOnlyBlockInformationProvider myReadOnlyBlockInformationProvider;
private final static boolean INLINE_TABS_ENABLED = "true".equalsIgnoreCase(System.getProperty("inline.tabs.enabled"));
private final static boolean DEBUG_ENABLED = false;
private InitialInfoBuilder(final FormattingDocumentModel model,
final FormatTextRanges affectedRanges,
@@ -277,7 +278,6 @@ class InitialInfoBuilder {
}
final LeafBlockWrapper info =
new LeafBlockWrapper(rootBlock, parent, myCurrentWhiteSpace, myModel, myOptions, myPreviousBlock, readOnly);
info.setDebugInfo("target block's class: " + rootBlock.getClass());
if (index == 0) {
info.arrangeParentTextRange();
}
@@ -29,7 +29,6 @@ class LeafBlockWrapper extends AbstractBlockWrapper {
private LeafBlockWrapper myPreviousBlock;
private LeafBlockWrapper myNextBlock;
private SpacingImpl mySpaceProperty;
private String myDebugInfo;
/**
* Shortcut for calling
@@ -217,13 +216,4 @@ class LeafBlockWrapper extends AbstractBlockWrapper {
public TextRange getTextRange() {
return new TextRange(myStart, myEnd);
}
@Nullable
public String getDebugInfo() {
return myDebugInfo;
}
public void setDebugInfo(@Nullable String debugInfo) {
myDebugInfo = debugInfo;
}
}