mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
fix warnings: use non-deprecated function and typed collection
This commit is contained in:
parent
49d75b9efd
commit
db4680b5f6
@ -531,7 +531,7 @@ public final class KeywordSearchListTopComponent extends TopComponent implements
|
||||
|
||||
|
||||
loadPane.selectInitialValue();
|
||||
loadDialog.show();
|
||||
loadDialog.setVisible(true);
|
||||
loadDialog.dispose();
|
||||
|
||||
return (String) loadPane.getInputValue();
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user