From 10483d53aaa291bbb5382e2f2afcf8ec3944e678 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Mon, 2 Dec 2024 20:15:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20chore:=20suppress=20warning=20me?= =?UTF-8?q?ssage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../klimt/creole/legacy/CreoleStripeSimpleParser.java | 4 ++-- .../plantuml/klimt/creole/legacy/StripeSimple.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/net/sourceforge/plantuml/klimt/creole/legacy/CreoleStripeSimpleParser.java b/src/net/sourceforge/plantuml/klimt/creole/legacy/CreoleStripeSimpleParser.java index f5bc6f18cf3..9780f12bb67 100644 --- a/src/net/sourceforge/plantuml/klimt/creole/legacy/CreoleStripeSimpleParser.java +++ b/src/net/sourceforge/plantuml/klimt/creole/legacy/CreoleStripeSimpleParser.java @@ -62,8 +62,8 @@ public class CreoleStripeSimpleParser { public CreoleStripeSimpleParser(String line, CreoleContext creoleContext, FontConfiguration fontConfiguration, ISkinSimple skinParam, CreoleMode mode) { - if (line.contains("" + BackSlash.hiddenNewLine())) - throw new IllegalArgumentException(line); +// if (line.contains("" + BackSlash.hiddenNewLine())) +// throw new IllegalArgumentException(line); this.fontConfiguration = fontConfiguration; this.modeSimpleLine = mode; diff --git a/src/net/sourceforge/plantuml/klimt/creole/legacy/StripeSimple.java b/src/net/sourceforge/plantuml/klimt/creole/legacy/StripeSimple.java index 9204d4cdb2b..137ea77eb89 100644 --- a/src/net/sourceforge/plantuml/klimt/creole/legacy/StripeSimple.java +++ b/src/net/sourceforge/plantuml/klimt/creole/legacy/StripeSimple.java @@ -213,8 +213,8 @@ public void setActualFontConfiguration(FontConfiguration fontConfiguration) { } public void analyzeAndAdd(String line) { - if (Objects.requireNonNull(line).contains("" + BackSlash.hiddenNewLine())) - throw new IllegalArgumentException(line); +// if (Objects.requireNonNull(line).contains("" + BackSlash.hiddenNewLine())) +// throw new IllegalArgumentException(line); line = CharHidder.hide(line); if (style.getType() == StripeStyleType.HEADING) {