fix warnings: use non-deprecated function and typed collection

This commit is contained in:
adam-m 2012-01-12 11:19:11 -05:00
parent 49d75b9efd
commit db4680b5f6
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ public final class KeywordSearchListTopComponent extends TopComponent implements
loadPane.selectInitialValue();
loadDialog.show();
loadDialog.setVisible(true);
loadDialog.dispose();
return (String) loadPane.getInputValue();

View File

@ -116,7 +116,7 @@ public class KeywordSearchListsXML {
* @return List of keyword list names
*/
List<String>getListNames() {
return new ArrayList(theLists.keySet());
return new ArrayList<String>(theLists.keySet());
}
/**