JAL-3990 gradle spotlessApply
authorJim Procter <j.procter@dundee.ac.uk>
Tue, 5 Apr 2022 17:14:52 +0000 (18:14 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Tue, 5 Apr 2022 17:14:52 +0000 (18:14 +0100)
src/jalview/gui/structurechooser/TDBResultAnalyser.java
src/jalview/io/SequenceAnnotationReport.java
test/jalview/fts/service/pdb/PDBFTSRestClientTest.java
test/jalview/gui/structurechooser/StructureChooserQuerySourceTest.java

index 02d4bda..2408d7a 100644 (file)
@@ -131,7 +131,8 @@ public class TDBResultAnalyser
     // ignore anything outside the sequence region
     for (FTSData row : collectedResults)
     {
-      if (row.getSummaryData() != null && row.getSummaryData()[idx_ups]!=null)
+      if (row.getSummaryData() != null
+              && row.getSummaryData()[idx_ups] != null)
       {
         int up_s = (Integer) row.getSummaryData()[idx_ups];
         int up_e = (Integer) row.getSummaryData()[idx_upe];
index 7fc04e1..c831366 100644 (file)
@@ -539,7 +539,7 @@ public class SequenceAnnotationReport
   protected int appendDbRefs(final StringBuilder sb, SequenceI ds,
           boolean summary)
   {
-    List<DBRefEntry> dbrefs,dbrefset = ds.getDBRefs();
+    List<DBRefEntry> dbrefs, dbrefset = ds.getDBRefs();
 
     if (dbrefset == null)
     {
@@ -549,9 +549,9 @@ public class SequenceAnnotationReport
     // PATCH for JAL-3980 defensive copy
 
     dbrefs = new ArrayList<DBRefEntry>();
-    
+
     dbrefs.addAll(dbrefset);
-    
+
     // note this sorts the refs held on the sequence!
     dbrefs.sort(comparator);
     boolean ellipsis = false;
index b91466b..355eae5 100644 (file)
@@ -736,10 +736,10 @@ public class PDBFTSRestClientTest
               new String[]
               { readJsonStringFromFile(
                       "test/jalview/fts/threedbeacons/p01308_pdbfts_query.txt")
-                      .trim(),
+                              .trim(),
                   readJsonStringFromFile(
                           "test/jalview/fts/threedbeacons/p01308_pdbfts_resp.txt")
-                          .trim() });
+                                  .trim() });
       for (int i = 1; i < 5; i++)
       {
         mocks.add(
@@ -747,12 +747,10 @@ public class PDBFTSRestClientTest
                 new String[]
                 { readJsonStringFromFile(
                         "test/jalview/fts/threedbeacons/p0dtd1_pdbfts_fts_query_pt"
-                                + i + ".txt")
-                        .trim(),
+                                + i + ".txt").trim(),
                     readJsonStringFromFile(
                             "test/jalview/fts/threedbeacons/p0dtd1_pdbfts_fts_query_pt"
-                                    + i + "_resp.txt")
-                            .trim() });
+                                    + i + "_resp.txt").trim() });
       }
     } catch (Throwable e)
     {
index 73ba4df..7107448 100644 (file)
@@ -239,8 +239,7 @@ public class StructureChooserQuerySourceTest
   }
 
   @SuppressWarnings("deprecation")
-  @Test(groups =
-  { "Functional" })
+  @Test(groups = { "Functional" })
   public void buildPDBQueryTest()
   {
     System.out.println("seq >>>> " + seq);
@@ -288,8 +287,7 @@ public class StructureChooserQuerySourceTest
   }
 
   @SuppressWarnings("deprecation")
-  @Test(groups =
-  { "Functional" })
+  @Test(groups = { "Functional" })
   public void buildThreeDBQueryTest()
   {
     System.out.println("seq >>>> " + upSeq);