X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fandroid%2FSparseDoubleArray.java;h=7b8b0309909edd40d3d99398455755ca80dc4920;hb=404d5b51a7a7781ad6924df6a7ce63c754370f16;hp=eaf059c27e163d3660f60c1d562e9320d9dea5d2;hpb=80ff57c095b792b8e8e123ddb0eff4d1780d6cbd;p=jalview.git diff --git a/src/jalview/ext/android/SparseDoubleArray.java b/src/jalview/ext/android/SparseDoubleArray.java index eaf059c..7b8b030 100644 --- a/src/jalview/ext/android/SparseDoubleArray.java +++ b/src/jalview/ext/android/SparseDoubleArray.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ 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. + */ package jalview.ext.android; /* @@ -163,8 +183,8 @@ public class SparseDoubleArray implements Cloneable public void removeAt(int index) { System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); - System.arraycopy(mValues, index + 1, mValues, index, mSize - - (index + 1)); + System.arraycopy(mValues, index + 1, mValues, index, + mSize - (index + 1)); mSize--; }