Skip to content

Commit 0bc4927

Browse files
committed
minor regex cleanup
1 parent a0311f3 commit 0bc4927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

forge-gui-desktop/src/main/java/forge/itemmanager/views/DeckNameCommentRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private static DeckProxy deckProxyFromRow(final JTable table, final int row) {
7171
}
7272

7373
private static String toHtmlWrappedTooltip(final String comment) {
74-
final String[] lines = comment.split("\r\n|\n|\r", -1);
74+
final String[] lines = comment.split("[\r\n]", -1);
7575
final StringBuilder out = new StringBuilder("<html>");
7676
for (int i = 0; i < lines.length; i++) {
7777
if (i > 0) {

0 commit comments

Comments
 (0)