mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
code formatting
This commit is contained in:
parent
b995dcdb61
commit
c94711c2d5
@ -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("&#");
|
||||
|
Loading…
Reference in New Issue
Block a user