From: Ben Soares Date: Mon, 27 May 2019 15:18:09 +0000 (+0100) Subject: JAL-3141 Object array cast missing X-Git-Tag: Release_2_11_1_0~53^2~10^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=97a6f94196828b1bf4e2804e9a92d819e06c078d;p=jalview.git JAL-3141 Object array cast missing --- diff --git a/src/jalview/jbgui/GPreferences.java b/src/jalview/jbgui/GPreferences.java index f8fbe06..60bf1b7 100755 --- 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 entries = Arrays - .asList(BackupFilesPresetEntry.backupfilesPresetEntries); + .asList((Object[]) BackupFilesPresetEntry.backupfilesPresetEntries); List tooltips = Arrays.asList( BackupFilesPresetEntry.backupfilesPresetEntryDescriptions); backupfilesPresetsCombo = JvSwingUtils.buildComboWithTooltips(entries,