Skip to content

Commit

Permalink
🚧 chore: suppress warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroques committed Dec 2, 2024
1 parent d45157e commit c1a54cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ protected interface DelayedDouble {

protected AtomText(String text, FontConfiguration style, Url url, DelayedDouble marginLeft,
DelayedDouble marginRight, boolean manageSpecialChars) {
if (text.contains("" + BackSlash.hiddenNewLine()))
throw new IllegalArgumentException(text);
// if (text.contains("" + BackSlash.hiddenNewLine()))
// throw new IllegalArgumentException(text);

this.marginLeft = marginLeft;
this.marginRight = marginRight;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c1a54cb

Please sign in to comment.