X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FJalviewUserColours.java;fp=src%2Fjalview%2Fbinding%2FJalviewUserColours.java;h=6709487cb8993a9ac43e9788bbe52c8d4626a860;hb=2f96125e48e277a8296e9e2b53719f346f043ceb;hp=02bb12ed530e143fe168ae7c901fbfcaec54f662;hpb=5160a2b12eaed0e6fb398ec3ff3805e1630b9b83;p=jalview.git diff --git a/src/jalview/binding/JalviewUserColours.java b/src/jalview/binding/JalviewUserColours.java index 02bb12e..6709487 100644 --- a/src/jalview/binding/JalviewUserColours.java +++ b/src/jalview/binding/JalviewUserColours.java @@ -107,9 +107,9 @@ public class JalviewUserColours implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._colourList.size()) { - throw new IndexOutOfBoundsException("getColour: Index value '" - + index + "' not in range [0.." - + (this._colourList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getColour: Index value '" + index + "' not in range [0.." + + (this._colourList.size() - 1) + "]"); } return (Colour) _colourList.get(index); @@ -261,9 +261,9 @@ public class JalviewUserColours implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._colourList.size()) { - throw new IndexOutOfBoundsException("setColour: Index value '" - + index + "' not in range [0.." - + (this._colourList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setColour: Index value '" + index + "' not in range [0.." + + (this._colourList.size() - 1) + "]"); } this._colourList.set(index, vColour); @@ -325,8 +325,8 @@ public class JalviewUserColours implements java.io.Serializable throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { - return (jalview.binding.JalviewUserColours) Unmarshaller.unmarshal( - jalview.binding.JalviewUserColours.class, reader); + return (jalview.binding.JalviewUserColours) Unmarshaller + .unmarshal(jalview.binding.JalviewUserColours.class, reader); } /**