From: Jim Procter Date: Tue, 27 Sep 2016 14:17:43 +0000 (+0100) Subject: JAL-2210 formatting X-Git-Tag: Release_2_10_0~20^2~35 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4699d1858999c49dfbab4d98004b20df974fdc57;p=jalview.git JAL-2210 formatting --- diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index f414a9c..2d09088 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -302,7 +302,8 @@ public class DBRefUtils @Override public boolean matches(DBRefEntry refa, DBRefEntry refb) { - if (refa.getSource() != null && refb.getSource() != null + if (refa.getSource() != null + && refb.getSource() != null && DBRefUtils.getCanonicalName(refb.getSource()).equals( DBRefUtils.getCanonicalName(refa.getSource()))) { @@ -334,7 +335,8 @@ public class DBRefUtils @Override public boolean matches(DBRefEntry refa, DBRefEntry refb) { - if (refa.getSource() != null && refb.getSource() != null + if (refa.getSource() != null + && refb.getSource() != null && DBRefUtils.getCanonicalName(refb.getSource()).equals( DBRefUtils.getCanonicalName(refa.getSource()))) { @@ -371,7 +373,8 @@ public class DBRefUtils @Override public boolean matches(DBRefEntry refa, DBRefEntry refb) { - if (refa.getSource() != null && refb.getSource() != null + if (refa.getSource() != null + && refb.getSource() != null && DBRefUtils.getCanonicalName(refb.getSource()).equals( DBRefUtils.getCanonicalName(refa.getSource()))) { @@ -411,7 +414,8 @@ public class DBRefUtils @Override public boolean matches(DBRefEntry refa, DBRefEntry refb) { - if (refa.getSource() != null && refb.getSource() != null + if (refa.getSource() != null + && refb.getSource() != null && DBRefUtils.getCanonicalName(refb.getSource()).equals( DBRefUtils.getCanonicalName(refa.getSource()))) {