git://source.jalview.org
/
jabaws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further work on statistics display
[jabaws.git]
/
datamodel
/
compbio
/
data
/
sequence
/
Range.java
diff --git
a/datamodel/compbio/data/sequence/Range.java
b/datamodel/compbio/data/sequence/Range.java
index
839ae28
..
1fabc07
100644
(file)
--- a/
datamodel/compbio/data/sequence/Range.java
+++ b/
datamodel/compbio/data/sequence/Range.java
@@
-5,6
+5,12
@@
public class Range implements Comparable<Range> {
public final int from;
\r
public final int to;
\r
\r
+ private Range() {
\r
+ // JAXB default constructor should not be used
\r
+ from = 0;
\r
+ to = from;
\r
+ }
\r
+
\r
public Range(int from, int to) {
\r
this.from = from;
\r
this.to = to;
\r