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
Change the way to deal with Limits to simplify wrapper writing and enable couping...
[jabaws.git]
/
webservices
/
compbio
/
ws
/
server
/
AAConWS.java
diff --git
a/webservices/compbio/ws/server/AAConWS.java
b/webservices/compbio/ws/server/AAConWS.java
index
ac7435d
..
8637af1
100644
(file)
--- a/
webservices/compbio/ws/server/AAConWS.java
+++ b/
webservices/compbio/ws/server/AAConWS.java
@@
-84,6
+84,10
@@
public class AAConWS implements SequenceAnnotation<AACon> {
\r
@Override
\r
public Limit<AACon> getLimit(String presetName) {
\r
+ if (limitMan == null) {
\r
+ // Limit is not defined
\r
+ return null;
\r
+ }
\r
return limitMan.getLimitByName(presetName);
\r
}
\r
\r