Mercurial > hg > truffle
comparison src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/NodeQuickSearch.java @ 2955:bf4f8817e3bd
IdealGraphVisualizer: eliminate compiler warnings by replacing calls to deprecated API methods, introducing generics parameters where missing, and when absolutely necessary adding @SuppressWarnings annotations
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Wed, 15 Jun 2011 14:30:40 +0200 |
parents | 53ddfe305645 |
children | 4a64ffd60c03 |
comparison
equal
deleted
inserted
replaced
2954:859dbeadc042 | 2955:bf4f8817e3bd |
---|---|
104 if (comp != null) { | 104 if (comp != null) { |
105 final Set<InputNode> tmpSet = new HashSet<InputNode>(); | 105 final Set<InputNode> tmpSet = new HashSet<InputNode>(); |
106 tmpSet.add(n); | 106 tmpSet.add(n); |
107 comp.setSelectedNodes(tmpSet); | 107 comp.setSelectedNodes(tmpSet); |
108 comp.requestActive(); | 108 comp.requestActive(); |
109 comp.requestFocus(); | |
110 } | 109 } |
111 } | 110 } |
112 }, n.getProperties().get(name) + " (" + n.getId() + " " + n.getProperties().get("name") + ")"); | 111 }, n.getProperties().get(name) + " (" + n.getId() + " " + n.getProperties().get("name") + ")"); |
113 } | 112 } |
114 } | 113 } |