Skip to content

Commit 0781877

Browse files
committed
introduced tag generator
1 parent 8a59b47 commit 0781877

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/difflib/text/DiffRowGenerator.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,14 +379,6 @@ public static void wrapInTag(List<String> sequence, int startPosition,
379379
sequence.add(endPosition, generator.apply(false));
380380
}
381381

382-
private static String createCloseTag(String tag) {
383-
return "</" + tag + ">";
384-
}
385-
386-
private static String createOpenTag(String tag, String cssClass) {
387-
return "<" + tag + (cssClass != null ? " class=\"" + cssClass + "\"" : "") + ">";
388-
}
389-
390382
private static final Pattern SPLIT_PATTERN = Pattern.compile("\\s+|[,.\\[\\](){}/\\\\*+\\-#]");
391383

392384
static List<String> splitStringPreserveDelimiter(String str) {

0 commit comments

Comments
 (0)