git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git...
[jalview.git]
/
src
/
jalview
/
datamodel
/
features
/
FeatureMatcher.java
diff --git
a/src/jalview/datamodel/features/FeatureMatcher.java
b/src/jalview/datamodel/features/FeatureMatcher.java
index
50dd102
..
f844141
100644
(file)
--- a/
src/jalview/datamodel/features/FeatureMatcher.java
+++ b/
src/jalview/datamodel/features/FeatureMatcher.java
@@
-356,6
+356,12
@@
public class FeatureMatcher implements FeatureMatcherI
return byScore;
}
+ @Override
+ public boolean isByAttribute()
+ {
+ return getAttribute() != null;
+ }
+
/**
* {@inheritDoc} The output of this method should be parseable by method
* <code>fromString<code> to restore the original object.