git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a35786
)
toString method added
author
amwaterhouse
<Andrew Waterhouse>
Wed, 25 May 2005 16:34:04 +0000
(16:34 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 25 May 2005 16:34:04 +0000
(16:34 +0000)
src/jalview/datamodel/AlignmentAnnotation.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentAnnotation.java
b/src/jalview/datamodel/AlignmentAnnotation.java
index
8635505
..
8326c3a
100755
(executable)
--- a/
src/jalview/datamodel/AlignmentAnnotation.java
+++ b/
src/jalview/datamodel/AlignmentAnnotation.java
@@
-53,8
+53,6
@@
public class AlignmentAnnotation
if(annotations[i].value<min)
\r
min = annotations[i].value;
\r
}
\r
-
\r
-
\r
}
\r
\r
graphMin = min;
\r
@@
-70,8
+68,17
@@
public class AlignmentAnnotation
if (annotations[i]!=null && annotations[i].displayCharacter.length()>0)
\r
hasText = true;
\r
}
\r
+ }
\r
\r
-
\r
+ public String toString()
\r
+ {
\r
+ StringBuffer buffer = new StringBuffer();
\r
+ for(int i=0; i<annotations.length; i++)
\r
+ {
\r
+ buffer.append( annotations[i].value );
\r
+ buffer.append(", ");
\r
+ }
\r
+ return buffer.toString();
\r
}
\r
\r
}
\r