From c94711c2d50df64f01d5f9d761041fa3ada91259 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Sat, 22 Jan 2022 13:08:43 +0100 Subject: [PATCH] code formatting --- .../net/sourceforge/plantuml/servlet/PlantUmlServlet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/sourceforge/plantuml/servlet/PlantUmlServlet.java b/src/main/java/net/sourceforge/plantuml/servlet/PlantUmlServlet.java index 8829c14..dfec375 100644 --- a/src/main/java/net/sourceforge/plantuml/servlet/PlantUmlServlet.java +++ b/src/main/java/net/sourceforge/plantuml/servlet/PlantUmlServlet.java @@ -82,7 +82,7 @@ public class PlantUmlServlet extends HttpServlet { final StringBuffer sb = new StringBuffer(string.length()); // true if last char was blank final int length = string.length(); - for (int offset = 0; offset < length; ) { + for (int offset = 0; offset < length;) { final int c = string.codePointAt(offset); if (c == ' ') { sb.append(' '); @@ -102,7 +102,7 @@ public class PlantUmlServlet extends HttpServlet { int ci = 0xffffff & c; if (ci < 160) { // nothing special only 7 Bit - sb.append((char)c); + sb.append((char) c); } else { // Not 7 Bit use the unicode system sb.append("&#");