Merge branch 'develop' into releases/Release_2_10_2_Branch
[jalview.git] / src / jalview / binding / VAMSAS.java
index c06de29..b5a32da 100644 (file)
@@ -105,7 +105,8 @@ public class VAMSAS implements java.io.Serializable
    * @throws java.lang.IndexOutOfBoundsException
    *           if the index given is outside the bounds of the collection
    */
-  public void addSequenceSet(final int index, final SequenceSet vSequenceSet)
+  public void addSequenceSet(final int index,
+          final SequenceSet vSequenceSet)
           throws java.lang.IndexOutOfBoundsException
   {
     this._sequenceSetList.add(index, vSequenceSet);
@@ -182,9 +183,9 @@ public class VAMSAS implements java.io.Serializable
     // check bounds for index
     if (index < 0 || index >= this._alignmentList.size())
     {
-      throw new IndexOutOfBoundsException("getAlignment: Index value '"
-              + index + "' not in range [0.."
-              + (this._alignmentList.size() - 1) + "]");
+      throw new IndexOutOfBoundsException(
+              "getAlignment: Index value '" + index + "' not in range [0.."
+                      + (this._alignmentList.size() - 1) + "]");
     }
 
     return (Alignment) _alignmentList.get(index);
@@ -469,9 +470,9 @@ public class VAMSAS implements java.io.Serializable
     // check bounds for index
     if (index < 0 || index >= this._alignmentList.size())
     {
-      throw new IndexOutOfBoundsException("setAlignment: Index value '"
-              + index + "' not in range [0.."
-              + (this._alignmentList.size() - 1) + "]");
+      throw new IndexOutOfBoundsException(
+              "setAlignment: Index value '" + index + "' not in range [0.."
+                      + (this._alignmentList.size() - 1) + "]");
     }
 
     this._alignmentList.set(index, vAlignment);
@@ -501,7 +502,8 @@ public class VAMSAS implements java.io.Serializable
    * @throws java.lang.IndexOutOfBoundsException
    *           if the index given is outside the bounds of the collection
    */
-  public void setSequenceSet(final int index, final SequenceSet vSequenceSet)
+  public void setSequenceSet(final int index,
+          final SequenceSet vSequenceSet)
           throws java.lang.IndexOutOfBoundsException
   {
     // check bounds for index
@@ -579,12 +581,13 @@ public class VAMSAS implements java.io.Serializable
    *           if this object is an invalid instance according to the schema
    * @return the unmarshaled jalview.binding.VAMSAS
    */
-  public static jalview.binding.VAMSAS unmarshal(final java.io.Reader reader)
+  public static jalview.binding.VAMSAS unmarshal(
+          final java.io.Reader reader)
           throws org.exolab.castor.xml.MarshalException,
           org.exolab.castor.xml.ValidationException
   {
-    return (jalview.binding.VAMSAS) Unmarshaller.unmarshal(
-            jalview.binding.VAMSAS.class, reader);
+    return (jalview.binding.VAMSAS) Unmarshaller
+            .unmarshal(jalview.binding.VAMSAS.class, reader);
   }
 
   /**