From: tcofoegbu Date: Fri, 27 Mar 2015 13:22:09 +0000 (+0000) Subject: JAL-1667 updated the collection type for searchSummaryFields and structureSummaryFiel... X-Git-Tag: Jalview_2_9~70^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=14f8f1bd5561e4c9c6a4addf5267b49a93999021;p=jalview.git JAL-1667 updated the collection type for searchSummaryFields and structureSummaryFields preferences --- diff --git a/src/jalview/jbgui/PDBDocFieldPreferences.java b/src/jalview/jbgui/PDBDocFieldPreferences.java index 2021d0b..90abbfb 100644 --- a/src/jalview/jbgui/PDBDocFieldPreferences.java +++ b/src/jalview/jbgui/PDBDocFieldPreferences.java @@ -4,7 +4,7 @@ import jalview.ws.dbsources.PDBRestClient.PDBDocField; import java.util.Collection; import java.util.HashMap; -import java.util.HashSet; +import java.util.LinkedHashSet; import javax.swing.JScrollPane; import javax.swing.JTable; @@ -20,9 +20,9 @@ public class PDBDocFieldPreferences extends JScrollPane private HashMap map = new HashMap(); - private static Collection searchSummaryFields = new HashSet(); + private static Collection searchSummaryFields = new LinkedHashSet(); - private static Collection structureSummaryFields = new HashSet(); + private static Collection structureSummaryFields = new LinkedHashSet(); public enum PreferenceSource {