Skip to content

Commit 2f118bc

Browse files
committed
Regex fix from sonar
1 parent d5de4b1 commit 2f118bc

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/MultipleSequenceAlignment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ private void printConservation(StringBuilder s, String idFormat, int start, int
304304
if (idFormat != null) {
305305
AccessionID ac1 = sequences.get(0).getAccession();
306306
String id1 = (ac1 == null) ? "null" : ac1.getID();
307-
id1 = id1.replaceAll(".", " ");
307+
id1 = id1.replaceAll("\\.", " ");
308308
s.append(String.format(idFormat, id1));
309309
}
310310

0 commit comments

Comments
 (0)