JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / structures / models / AAStructureBindingModel.java
index a98e4b1..2528286 100644 (file)
@@ -355,8 +355,8 @@ public abstract class AAStructureBindingModel
               { Integer.valueOf(pe).toString() }));
     }
     final String nullChain = "TheNullChain";
-    List<SequenceI> s = new ArrayList<>();
-    List<String> c = new ArrayList<>();
+    List<SequenceI> s = new ArrayList<SequenceI>();
+    List<String> c = new ArrayList<String>();
     if (getChains() == null)
     {
       setChains(new String[getPdbCount()][]);
@@ -425,8 +425,8 @@ public abstract class AAStructureBindingModel
   public synchronized PDBEntry[] addSequenceAndChain(PDBEntry[] pdbe,
           SequenceI[][] seq, String[][] chns)
   {
-    List<PDBEntry> v = new ArrayList<>();
-    List<int[]> rtn = new ArrayList<>();
+    List<PDBEntry> v = new ArrayList<PDBEntry>();
+    List<int[]> rtn = new ArrayList<int[]>();
     for (int i = 0; i < getPdbCount(); i++)
     {
       v.add(getPdbEntry(i));
@@ -512,10 +512,12 @@ public abstract class AAStructureBindingModel
   }
 
   /**
+   * Returns a readable description of all mappings for the wrapped pdbfile to
+   * any mapped sequences
    * 
-   * @return a readable description of all mappings for the wrapped pdbfile to
-   *         any mapped sequences
-   * 
+   * @param pdbfile
+   * @param seqs
+   * @return
    */
   public String printMappings()
   {