(String string, int width)
| 169 | } |
| 170 | |
| 171 | @Override |
| 172 | public List<String> splitStringToWidth(String string, int width) { |
| 173 | Validate.isTrue(width > 0); |
| 174 | if (string == null) |
| 175 | return Collections.emptyList(); |
| 176 | if (string.isEmpty()) |
| 177 | return Collections.singletonList(""); |
| 178 | return getFontrenderer().c(string, width); |
| 179 | } |
| 180 | |
| 181 | @Override |
| 182 | public int getStringWidth(String string) { |
nothing calls this directly
no test coverage detected