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
cleanup
[jalview.git]
/
forester
/
java
/
src
/
org
/
forester
/
go
/
PfamToGoMapping.java
diff --git
a/forester/java/src/org/forester/go/PfamToGoMapping.java
b/forester/java/src/org/forester/go/PfamToGoMapping.java
index
0e6717c
..
33815ab
100644
(file)
--- a/
forester/java/src/org/forester/go/PfamToGoMapping.java
+++ b/
forester/java/src/org/forester/go/PfamToGoMapping.java
@@
-21,18
+21,16
@@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.go;
package org.forester.go;
-import org.forester.surfacing.DomainId;
-
public class PfamToGoMapping implements Mapping {
public class PfamToGoMapping implements Mapping {
- private final DomainId _pfam_domain_id;
- private final GoId _go_id;
+ private final String _pfam_domain_id;
+ private final GoId _go_id;
- public PfamToGoMapping( final DomainId pfam_domain_id, final GoId go_id ) {
+ public PfamToGoMapping( final String pfam_domain_id, final GoId go_id ) {
_pfam_domain_id = pfam_domain_id;
_go_id = go_id;
}
_pfam_domain_id = pfam_domain_id;
_go_id = go_id;
}
@@
-42,7
+40,7
@@
public class PfamToGoMapping implements Mapping {
if ( this == m ) {
return 0;
}
if ( this == m ) {
return 0;
}
- return getKey().compareTo( ( DomainId ) m.getKey() );
+ return getKey().compareTo( ( String ) m.getKey() );
}
/**
}
/**
@@
-69,7
+67,7
@@
public class PfamToGoMapping implements Mapping {
}
@Override
}
@Override
- public DomainId getKey() {
+ public String getKey() {
return _pfam_domain_id;
}
return _pfam_domain_id;
}