aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-11-08 10:33:49 +0000
committerPJ Fanning <fanningpj@apache.org>2021-11-08 10:33:49 +0000
commitfec7e1cc89a06f82819e3a2a7dff30b695918e1e (patch)
treea3b98479a6caf746f7b2d36035d17bf83f48d99b /poi/src
parentee110ed1268e64f50aeabd428d36c534dfdae5de (diff)
downloadpoi-fec7e1cc89a06f82819e3a2a7dff30b695918e1e.tar.gz
poi-fec7e1cc89a06f82819e3a2a7dff30b695918e1e.zip
use spaces for indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894829 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
-rw-r--r--poi/src/main/java/org/apache/poi/ss/format/CellFormatPart.java22
1 files changed, 11 insertions, 11 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 7cbffa13a3..c505314ae0 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
@@ -409,17 +409,17 @@ public class CellFormatPart {
while (codePoints.hasNext()) {
String ch = codePoints.next();
if ("\'".equals(ch) && type.isSpecial('\'')) {
- sb.append('\u0000');
- continue;
- }
-
- boolean special = type.isSpecial(ch.charAt(0));
- if (special)
- sb.append('\'');
- sb.append(ch);
- if (special)
- sb.append('\'');
- }
+ sb.append('\u0000');
+ continue;
+ }
+
+ boolean special = type.isSpecial(ch.charAt(0));
+ if (special)
+ sb.append('\'');
+ sb.append(ch);
+ if (special)
+ sb.append('\'');
+ }
return sb.toString();
}