1
0
mirror of https://github.com/octoleo/plantuml.git synced 2025-01-03 07:12:29 +00:00

Rename Warning to CypherWarning

Rename `Warning` to `CypherWarning`, for more readability on the stdout/stderror
This commit is contained in:
The-Lum 2021-07-06 13:01:39 +02:00 committed by GitHub
parent d55c9c6ca7
commit f8e02ef0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ public class Cypher {
public void addException(String word) { public void addException(String word) {
word = word.toLowerCase(); word = word.toLowerCase();
if (words.contains(word)) { if (words.contains(word)) {
System.err.println("Warning:" + word); System.err.println("CypherWarning:" + word);
words.remove(word); words.remove(word);
} }
except.add(word); except.add(word);