X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FJalviewModelSequence.java;fp=src%2Fjalview%2Fbinding%2FJalviewModelSequence.java;h=9020ce2e420dd268deff2f4ea2176087d136c84f;hb=daf64249356f9a156423bd56ab0336d9da2e5325;hp=eb0716db88533811f3e969fe06d1505d12e74d9c;hpb=4f9c22055c3cdbfc9c4375dcb74755a89ec32b62;p=jalview.git diff --git a/src/jalview/binding/JalviewModelSequence.java b/src/jalview/binding/JalviewModelSequence.java index eb0716d..9020ce2 100644 --- a/src/jalview/binding/JalviewModelSequence.java +++ b/src/jalview/binding/JalviewModelSequence.java @@ -286,9 +286,9 @@ public class JalviewModelSequence implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._JGroupList.size()) { - throw new IndexOutOfBoundsException("getJGroup: Index value '" - + index + "' not in range [0.." - + (this._JGroupList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getJGroup: Index value '" + index + "' not in range [0.." + + (this._JGroupList.size() - 1) + "]"); } return (jalview.binding.JGroup) _JGroupList.get(index); @@ -473,9 +473,9 @@ public class JalviewModelSequence implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._viewportList.size()) { - throw new IndexOutOfBoundsException("getViewport: Index value '" - + index + "' not in range [0.." - + (this._viewportList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getViewport: Index value '" + index + "' not in range [0.." + + (this._viewportList.size() - 1) + "]"); } return (jalview.binding.Viewport) _viewportList.get(index); @@ -743,9 +743,9 @@ public class JalviewModelSequence implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._JGroupList.size()) { - throw new IndexOutOfBoundsException("setJGroup: Index value '" - + index + "' not in range [0.." - + (this._JGroupList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setJGroup: Index value '" + index + "' not in range [0.." + + (this._JGroupList.size() - 1) + "]"); } this._JGroupList.set(index, vJGroup); @@ -896,9 +896,9 @@ public class JalviewModelSequence implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._viewportList.size()) { - throw new IndexOutOfBoundsException("setViewport: Index value '" - + index + "' not in range [0.." - + (this._viewportList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setViewport: Index value '" + index + "' not in range [0.." + + (this._viewportList.size() - 1) + "]"); } this._viewportList.set(index, vViewport); @@ -936,8 +936,8 @@ public class JalviewModelSequence implements java.io.Serializable throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { - return (jalview.binding.JalviewModelSequence) Unmarshaller.unmarshal( - jalview.binding.JalviewModelSequence.class, reader); + return (jalview.binding.JalviewModelSequence) Unmarshaller + .unmarshal(jalview.binding.JalviewModelSequence.class, reader); } /**