X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FSequenceSet.java;fp=src%2Fjalview%2Fbinding%2FSequenceSet.java;h=3d81baeaf1d8a297d9323a37d95bef95fc2b3eab;hb=9f70ff4b6d193b340031997634c9e3602486bc8e;hp=c12934d95e2119b0378084d096dec34cdb3021d7;hpb=76844c43faeeeba369deaf42f1998ca0fb33d956;p=jalview.git diff --git a/src/jalview/binding/SequenceSet.java b/src/jalview/binding/SequenceSet.java index c12934d..3d81bae 100644 --- a/src/jalview/binding/SequenceSet.java +++ b/src/jalview/binding/SequenceSet.java @@ -173,9 +173,9 @@ public class SequenceSet implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._annotationList.size()) { - throw new IndexOutOfBoundsException("getAnnotation: Index value '" - + index + "' not in range [0.." - + (this._annotationList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getAnnotation: Index value '" + index + "' not in range [0.." + + (this._annotationList.size() - 1) + "]"); } return (jalview.binding.Annotation) _annotationList.get(index); @@ -231,9 +231,9 @@ public class SequenceSet implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._sequenceList.size()) { - throw new IndexOutOfBoundsException("getSequence: Index value '" - + index + "' not in range [0.." - + (this._sequenceList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getSequence: Index value '" + index + "' not in range [0.." + + (this._sequenceList.size() - 1) + "]"); } return (jalview.binding.Sequence) _sequenceList.get(index); @@ -428,9 +428,9 @@ public class SequenceSet implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._annotationList.size()) { - throw new IndexOutOfBoundsException("setAnnotation: Index value '" - + index + "' not in range [0.." - + (this._annotationList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setAnnotation: Index value '" + index + "' not in range [0.." + + (this._annotationList.size() - 1) + "]"); } this._annotationList.set(index, vAnnotation); @@ -479,9 +479,9 @@ public class SequenceSet implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._sequenceList.size()) { - throw new IndexOutOfBoundsException("setSequence: Index value '" - + index + "' not in range [0.." - + (this._sequenceList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setSequence: Index value '" + index + "' not in range [0.." + + (this._sequenceList.size() - 1) + "]"); } this._sequenceList.set(index, vSequence); @@ -519,8 +519,8 @@ public class SequenceSet implements java.io.Serializable throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { - return (jalview.binding.SequenceSet) Unmarshaller.unmarshal( - jalview.binding.SequenceSet.class, reader); + return (jalview.binding.SequenceSet) Unmarshaller + .unmarshal(jalview.binding.SequenceSet.class, reader); } /**