X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=datamodel%2Fcompbio%2Fdata%2Fsequence%2FRange.java;h=c2ccc434410c8e52621090ac9ce4914736ec5a54;hb=96ab3a201572c3ed7f9a27682bd0b6ca7edb34c7;hp=1fabc074ec7f56833c757910076a6bf34d2cbedc;hpb=d1d2e0d38c08f6ac5ce95cfbf049c4ddcdc49e62;p=jabaws.git diff --git a/datamodel/compbio/data/sequence/Range.java b/datamodel/compbio/data/sequence/Range.java index 1fabc07..c2ccc43 100644 --- a/datamodel/compbio/data/sequence/Range.java +++ b/datamodel/compbio/data/sequence/Range.java @@ -1,3 +1,20 @@ +/* Copyright (c) 2011 Peter Troshin + * + * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0 + * + * This library is free software; you can redistribute it and/or modify it under the terms of the + * Apache License version 2 as published by the Apache Software Foundation + * + * This library 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 Apache + * License for more details. + * + * A copy of the license is in apache_license.txt. It is also available here: + * @see: http://www.apache.org/licenses/LICENSE-2.0.txt + * + * Any republication or derived work distributed in source code form + * must include this copyright and license notice. + */ package compbio.data.sequence; public class Range implements Comparable { @@ -26,7 +43,7 @@ public class Range implements Comparable { @Override public String toString() { - return "[" + from + ", " + to + "]"; + return from + "-" + to; } @Override