git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8683aa
)
JAL-3141 Object array cast missing
author
Ben Soares
<bsoares@dundee.ac.uk>
Mon, 27 May 2019 15:18:09 +0000
(16:18 +0100)
committer
Ben Soares
<bsoares@dundee.ac.uk>
Mon, 27 May 2019 15:18:09 +0000
(16:18 +0100)
src/jalview/jbgui/GPreferences.java
patch
|
blob
|
history
diff --git
a/src/jalview/jbgui/GPreferences.java
b/src/jalview/jbgui/GPreferences.java
index
f8fbe06
..
60bf1b7
100755
(executable)
--- a/
src/jalview/jbgui/GPreferences.java
+++ b/
src/jalview/jbgui/GPreferences.java
@@
-1856,7
+1856,7
@@
public class GPreferences extends JPanel
presetsPanel.add(presetsComboLabel, gbc);
List<Object> entries = Arrays
- .asList(BackupFilesPresetEntry.backupfilesPresetEntries);
+ .asList((Object[]) BackupFilesPresetEntry.backupfilesPresetEntries);
List<String> tooltips = Arrays.asList(
BackupFilesPresetEntry.backupfilesPresetEntryDescriptions);
backupfilesPresetsCombo = JvSwingUtils.buildComboWithTooltips(entries,