(String string, int width)
| 150 | } |
| 151 | |
| 152 | @Override |
| 153 | public List<String> splitStringToWidth(String string, int width) { |
| 154 | Validate.isTrue(width > 0); |
| 155 | if (string == null) |
| 156 | return Collections.emptyList(); |
| 157 | if (string.isEmpty()) |
| 158 | return Collections.singletonList(""); |
| 159 | return getFontrenderer().c(string, width); |
| 160 | } |
| 161 | |
| 162 | @Override |
| 163 | public int getStringWidth(String string) { |
nothing calls this directly
no test coverage detected