X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2Fpacked%2FParsePackedSet.java;h=71999f0639459e665854c9e77cf887e79935ffae;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=8980e2c831dc1b66c5632a1a006d3d686df879cc;hpb=770bcd6eedfcb6329d0e1310502a0a03c7279b18;p=jalview.git diff --git a/src/jalview/io/packed/ParsePackedSet.java b/src/jalview/io/packed/ParsePackedSet.java index 8980e2c..71999f0 100644 --- a/src/jalview/io/packed/ParsePackedSet.java +++ b/src/jalview/io/packed/ParsePackedSet.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -20,6 +20,7 @@ */ package jalview.io.packed; +import jalview.api.FeatureColourI; import jalview.datamodel.AlignmentI; import jalview.io.AppletFormatAdapter; import jalview.io.FileParse; @@ -30,7 +31,7 @@ import jalview.io.packed.DataProvider.JvDataType; import java.io.BufferedReader; import java.io.IOException; import java.util.ArrayList; -import java.util.Hashtable; +import java.util.HashMap; import java.util.List; public class ParsePackedSet @@ -66,7 +67,7 @@ public class ParsePackedSet String fmt = null; try { - fmt = new IdentifyFile().Identify(src, false); + fmt = new IdentifyFile().identify(src, false); } catch (Exception ex) { exerror = ex; @@ -157,7 +158,7 @@ public class ParsePackedSet // if not, create one. if (context.featureColours == null) { - context.featureColours = new Hashtable(); + context.featureColours = new HashMap(); } try {