Commit 0b85e21c authored by Roman Shevchenko's avatar Roman Shevchenko Committed by intellij-monorepo-bot
Browse files

Cleanup (dead code)

GitOrigin-RevId: 95d8f6a7e40e0dfa5c1d35bb2f1739fbca55b20c
parent 6ea8f006
Showing with 1 addition and 37 deletions
+1 -37
...@@ -55,9 +55,4 @@ final class AntBuildFileNodeDescriptor extends AntNodeDescriptor { ...@@ -55,9 +55,4 @@ final class AntBuildFileNodeDescriptor extends AntNodeDescriptor {
super.customize(component); super.customize(component);
} }
} }
@Override
public boolean isAutoExpand() {
return myBuildFile.shouldExpand();
}
} }
\ No newline at end of file
/* // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.lang.ant.config.explorer; package com.intellij.lang.ant.config.explorer;
import com.intellij.ide.util.treeView.AbstractTreeStructure; import com.intellij.ide.util.treeView.AbstractTreeStructure;
...@@ -158,11 +144,6 @@ final class AntExplorerTreeStructure extends AbstractTreeStructure { ...@@ -158,11 +144,6 @@ final class AntExplorerTreeStructure extends AbstractTreeStructure {
super(project, parentDescriptor); super(project, parentDescriptor);
} }
@Override
public boolean isAutoExpand() {
return true;
}
@Override @Override
public Object getElement() { public Object getElement() {
return myRoot; return myRoot;
...@@ -191,10 +172,5 @@ final class AntExplorerTreeStructure extends AbstractTreeStructure { ...@@ -191,10 +172,5 @@ final class AntExplorerTreeStructure extends AbstractTreeStructure {
public boolean update() { public boolean update() {
return true; return true;
} }
@Override
public boolean isAutoExpand() {
return true;
}
} }
} }
...@@ -13,8 +13,6 @@ abstract class AntNodeDescriptor extends NodeDescriptor implements CellAppearanc ...@@ -13,8 +13,6 @@ abstract class AntNodeDescriptor extends NodeDescriptor implements CellAppearanc
super(project, parentDescriptor); super(project, parentDescriptor);
} }
public abstract boolean isAutoExpand();
@Override @Override
public void customize(@NotNull SimpleColoredComponent component) { public void customize(@NotNull SimpleColoredComponent component) {
component.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES); component.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
......
...@@ -121,11 +121,6 @@ final class AntTargetNodeDescriptor extends AntNodeDescriptor { ...@@ -121,11 +121,6 @@ final class AntTargetNodeDescriptor extends AntNodeDescriptor {
return myHighlightedText; return myHighlightedText;
} }
@Override
public boolean isAutoExpand() {
return false;
}
@Override @Override
public void customize(@NotNull SimpleColoredComponent component) { public void customize(@NotNull SimpleColoredComponent component) {
getHighlightedText().customize(component); getHighlightedText().customize(component);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment