diff options
Diffstat (limited to 'poi/src/main')
-rw-r--r-- | poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java b/poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java index 8a0232bb4f..9e437dfb24 100644 --- a/poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java +++ b/poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java @@ -26,7 +26,6 @@ import javax.swing.*; import java.awt.*; import java.util.*; -import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -136,7 +135,7 @@ public class CellFormatPart { "|\\[h{1,2}] # Elapsed time: hour spec\n" + "|\\[m{1,2}] # Elapsed time: minute spec\n" + "|\\[s{1,2}] # Elapsed time: second spec\n" + - "|[^;] # A character\n" + ""; + "|[^;] # A character\n"; String format = "(?:" + color + ")? # Text color\n" + "(?:\\[" + condition + "])? # Condition\n" + |