X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FJSeq.java;fp=src%2Fjalview%2Fbinding%2FJSeq.java;h=49334e104f6b36cdc2ce33f397359d17bf8cf7c1;hb=f063821ed0be9c1581af74643a1aa5798731af65;hp=996a80710b1afb6603a4942df284c28896e126f5;hpb=fd18e2c73cd015d4e38ad91da0e5d7532ff0ef42;p=jalview.git diff --git a/src/jalview/binding/JSeq.java b/src/jalview/binding/JSeq.java index 996a807..49334e1 100644 --- a/src/jalview/binding/JSeq.java +++ b/src/jalview/binding/JSeq.java @@ -229,9 +229,9 @@ public class JSeq implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._featuresList.size()) { - throw new IndexOutOfBoundsException("getFeatures: Index value '" - + index + "' not in range [0.." - + (this._featuresList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getFeatures: Index value '" + index + "' not in range [0.." + + (this._featuresList.size() - 1) + "]"); } return (jalview.binding.Features) _featuresList.get(index); @@ -286,9 +286,9 @@ public class JSeq implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._pdbidsList.size()) { - throw new IndexOutOfBoundsException("getPdbids: Index value '" - + index + "' not in range [0.." - + (this._pdbidsList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getPdbids: Index value '" + index + "' not in range [0.." + + (this._pdbidsList.size() - 1) + "]"); } return (jalview.binding.Pdbids) _pdbidsList.get(index); @@ -524,9 +524,9 @@ public class JSeq implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._featuresList.size()) { - throw new IndexOutOfBoundsException("setFeatures: Index value '" - + index + "' not in range [0.." - + (this._featuresList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setFeatures: Index value '" + index + "' not in range [0.." + + (this._featuresList.size() - 1) + "]"); } this._featuresList.set(index, vFeatures); @@ -575,9 +575,9 @@ public class JSeq implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._pdbidsList.size()) { - throw new IndexOutOfBoundsException("setPdbids: Index value '" - + index + "' not in range [0.." - + (this._pdbidsList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setPdbids: Index value '" + index + "' not in range [0.." + + (this._pdbidsList.size() - 1) + "]"); } this._pdbidsList.set(index, vPdbids); @@ -626,8 +626,8 @@ public class JSeq implements java.io.Serializable throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { - return (jalview.binding.JSeq) Unmarshaller.unmarshal( - jalview.binding.JSeq.class, reader); + return (jalview.binding.JSeq) Unmarshaller + .unmarshal(jalview.binding.JSeq.class, reader); } /**