From 80455d5c18cd5e3f8a9afae627f298262e28578c Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 6 May 2010 19:52:37 +0400 Subject: [PATCH] cleanup: remove incorrect and unnecessary overload --- .../python/structureView/PyStructureViewElement.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/python/src/com/jetbrains/python/structureView/PyStructureViewElement.java b/python/src/com/jetbrains/python/structureView/PyStructureViewElement.java index bc93d021b27c..63fff82d84ba 100644 --- a/python/src/com/jetbrains/python/structureView/PyStructureViewElement.java +++ b/python/src/com/jetbrains/python/structureView/PyStructureViewElement.java @@ -77,10 +77,6 @@ public class PyStructureViewElement implements StructureViewTreeElement { element.acceptChildren(this); } } - - public void visitPyParameter(final PyNamedParameter node) { - // Do not add parameters to structure view - } }); StructureViewTreeElement[] children = new StructureViewTreeElement[childrenElements.size()]; @@ -153,15 +149,13 @@ public class PyStructureViewElement implements StructureViewTreeElement { return myElement.getName(); } - public @Nullable - TextAttributesKey getTextAttributesKey() { + public TextAttributesKey getTextAttributesKey() { return null; } - public @Nullable - String getLocationString() { + public String getLocationString() { return null; }