Skip to content

Commit 47c0ff2

Browse files
Jkaurandreasprlic
authored andcommitted
Note.getTerm gives ComparableTerm associated with the Note
1 parent fc96d45 commit 47c0ff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_wikis/BioJava:BioJavaXDocs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ straightforward:
17941794
`   // get the next note`
17951795
`   Note n = (Note)i.next();`
17961796
`   // read it`
1797-
`   String key = n.getKey().getName();`
1797+
`   String key = n.getTerm().getName();`
17981798
`   String value = n.getValue();`
17991799
`   int rank = n.getRank();`
18001800
`   // print the qualifier out in key=value (rank) format`

_wikis/BioJava:BioJavaXDocs.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ for (Iterator i = feat.getNoteSet().iterator(); i.hasNext; ) {
17391739
// get the next note
17401740
Note n = (Note)i.next();
17411741
// read it
1742-
String key = n.getKey().getName();
1742+
String key = n.getTerm().getName();
17431743
String value = n.getValue();
17441744
int rank = n.getRank();
17451745
// print the qualifier out in key=value (rank) format

0 commit comments

Comments
 (0)