refactor: return null, if always null

This commit is contained in:
Connor Tumbleson 2020-11-28 12:43:03 -05:00 committed by Connor Tumbleson
parent 2eac0339b4
commit f1393c3ca6

View File

@ -121,7 +121,7 @@ public class StringBlock {
public String getHTML(int index) {
String raw = getString(index);
if (raw == null) {
return raw;
return null;
}
int[] style = getStyle(index);
if (style == null) {