Skip to content

Commit 3ddfb23

Browse files
committed
fix typo in message
1 parent 45435a3 commit 3ddfb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biojava-core/src/main/java/org/biojava/nbio/core/sequence/GeneSequence.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public ExonSequence removeExon(String accession) {
261261
*/
262262
public ExonSequence addExon(AccessionID accession, int begin, int end) {
263263
if (exonSequenceHashMap.containsKey(accession.getID())) {
264-
throw new IllegalArgumentException("Duplicate accesion id " + accession.getID());
264+
throw new IllegalArgumentException("Duplicate accession id: " + accession.getID());
265265
}
266266

267267
ExonSequence exonSequence = new ExonSequence(this, begin, end); //sense should be the same as parent

0 commit comments

Comments
 (0)