some netbeans inspection fixes

This commit is contained in:
honfika@gmail.com
2015-08-11 14:40:56 +02:00
parent 80bf0556fd
commit 427e7ea70d
11 changed files with 26 additions and 21 deletions

View File

@@ -858,7 +858,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
@Override
public void updateSearchPos(ActionSearchResult item) {
TagTreeModel ttm = (TagTreeModel) mainPanel.tagTree.getModel();
TreePath tp = ttm.getTreePath(item.src);
TreePath tp = ttm.getTreePath(item.getSrc());
mainPanel.tagTree.setSelectionPath(tp);
mainPanel.tagTree.scrollPathToVisible(tp);
decompiledEditor.setCaretPosition(0);