X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FJalviewModelSequence.java;h=9020ce2e420dd268deff2f4ea2176087d136c84f;hb=3d0101179759ef157b088ea135423cd909512d9f;hp=f8207ebfaf1b13b1cbe982721dadf512024d23c6;hpb=d423f22792e47dbc800ae220a58677f988971d06;p=jalview.git diff --git a/src/jalview/binding/JalviewModelSequence.java b/src/jalview/binding/JalviewModelSequence.java old mode 100755 new mode 100644 index f8207eb..9020ce2 --- a/src/jalview/binding/JalviewModelSequence.java +++ b/src/jalview/binding/JalviewModelSequence.java @@ -1,20 +1,10 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle - * - * This file is part of Jalview. - * - * Jalview is free software: you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * - * Jalview is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * This class was automatically generated with + * Castor 1.1, using an XML + * Schema. + * $Id$ */ + package jalview.binding; //---------------------------------/ @@ -296,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); @@ -483,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); @@ -753,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); @@ -906,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); @@ -946,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); } /**