diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index f9b28383..987d63d5 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -174,7 +174,7 @@ public class CSVFormat implements Serializable { */ void validate() throws IllegalStateException { if (delimiter == encapsulator) { - throw new IllegalStateException("The encapsulator character and the delimiter cannot be the same ('" + encapsulator + ")"); + throw new IllegalStateException("The encapsulator character and the delimiter cannot be the same ('" + encapsulator + "')"); } if (delimiter == escape) {