X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FJalviewModelSequence.java;h=9020ce2e420dd268deff2f4ea2176087d136c84f;hb=004a35d07335854184fdd335920b7210eebd66d9;hp=66b424ff36aad7c37358ad8eb626ed80c53b8618;hpb=865a855a4ca87eadb3e5ff284ed32ed307d9c34b;p=jalview.git
diff --git a/src/jalview/binding/JalviewModelSequence.java b/src/jalview/binding/JalviewModelSequence.java
index 66b424f..9020ce2 100644
--- a/src/jalview/binding/JalviewModelSequence.java
+++ b/src/jalview/binding/JalviewModelSequence.java
@@ -1,21 +1,10 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
- * Copyright (C) 2014 The Jalview Authors
- *
- * 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 .
- * The Jalview Authors are detailed in the 'AUTHORS' file.
+ * This class was automatically generated with
+ * Castor 1.1, using an XML
+ * Schema.
+ * $Id$
*/
+
package jalview.binding;
//---------------------------------/
@@ -297,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);
@@ -484,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);
@@ -754,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);
@@ -907,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);
@@ -947,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);
}
/**