From fec7e1cc89a06f82819e3a2a7dff30b695918e1e Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 8 Nov 2021 10:33:49 +0000 Subject: use spaces for indents git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894829 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/ss/format/CellFormatPart.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'poi/src') 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(); } -- cgit v1.2.3