X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FPdbentryItem.java;h=30a051267668f794a2bfab4ba43a52d6c4823c44;hb=1cb8662ae0ce8b7c29fa510809a6e883c769dcdc;hp=7d4f6a2e6e2f6dcaa6335cdd8cbc85aa2f850504;hpb=d423f22792e47dbc800ae220a58677f988971d06;p=jalview.git diff --git a/src/jalview/binding/PdbentryItem.java b/src/jalview/binding/PdbentryItem.java old mode 100755 new mode 100644 index 7d4f6a2..30a0512 --- a/src/jalview/binding/PdbentryItem.java +++ b/src/jalview/binding/PdbentryItem.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; /** @@ -100,9 +90,9 @@ public class PdbentryItem implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._propertyList.size()) { - throw new IndexOutOfBoundsException("getProperty: Index value '" - + index + "' not in range [0.." - + (this._propertyList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "getProperty: Index value '" + index + "' not in range [0.." + + (this._propertyList.size() - 1) + "]"); } return (jalview.binding.Property) _propertyList.get(index); @@ -179,9 +169,9 @@ public class PdbentryItem implements java.io.Serializable // check bounds for index if (index < 0 || index >= this._propertyList.size()) { - throw new IndexOutOfBoundsException("setProperty: Index value '" - + index + "' not in range [0.." - + (this._propertyList.size() - 1) + "]"); + throw new IndexOutOfBoundsException( + "setProperty: Index value '" + index + "' not in range [0.." + + (this._propertyList.size() - 1) + "]"); } this._propertyList.set(index, vProperty);