mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid unused trace +review CR-IC @denis.zhdanov
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user