We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca4f8bd commit 0773f73Copy full SHA for 0773f73
1 file changed
richtextfx/src/main/java/org/fxmisc/richtext/model/StyleSpansBuilder.java
@@ -181,7 +181,7 @@ private void _add(StyleSpan<S> span) {
181
182
private void ensureNotCreated() {
183
if(created) {
184
- throw new IllegalStateException("Cannot reus StyleRangesBuilder after StyleRanges have been created.");
+ throw new IllegalStateException("Cannot reuse StyleRangesBuilder after StyleRanges have been created.");
185
}
186
187
@@ -447,4 +447,4 @@ public StyleSpan<S> getStyleSpan(int index) {
447
throw new IndexOutOfBoundsException(String.valueOf(index));
448
449
450
-}
+}
0 commit comments