X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FGraphLine.java;h=38a506180f9c7f8bcae5fe381909ea2cb5556b30;hb=6adba3030c8318131d4c27d531b2612d30de780f;hp=5fdd946cc6e53b66278e1384c92f82eec803b2f7;hpb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;p=jalview.git diff --git a/src/jalview/datamodel/GraphLine.java b/src/jalview/datamodel/GraphLine.java index 5fdd946..38a5061 100755 --- a/src/jalview/datamodel/GraphLine.java +++ b/src/jalview/datamodel/GraphLine.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) - * Copyright (C) 2015 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. * @@ -61,12 +61,14 @@ public class GraphLine if (obj != null && obj instanceof GraphLine) { GraphLine other = (GraphLine) obj; - return displayed == other.displayed - && value == other.value - && (colour != null ? (other.colour != null && other.colour - .equals(colour)) : other.colour == null) - && (label != null ? (other.label != null && other.label - .equals(label)) : other.label == null); + return displayed == other.displayed && value == other.value + && (colour != null + ? (other.colour != null + && other.colour.equals(colour)) + : other.colour == null) + && (label != null + ? (other.label != null && other.label.equals(label)) + : other.label == null); } return false; }