Skip to content

Commit 631ea2c

Browse files
committed
made class JavaFXCompatibility package private again (no longer needed for demos since merging PR FXMisc#617)
1 parent 81b41ec commit 631ea2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

richtextfx/src/main/java/org/fxmisc/richtext/JavaFXCompatibility.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import javafx.scene.paint.Paint;
99
import javafx.scene.text.Text;
1010

11-
public class JavaFXCompatibility {
11+
class JavaFXCompatibility {
1212

1313
private static boolean isJava9orLater;
1414

@@ -28,7 +28,7 @@ public class JavaFXCompatibility {
2828
* Java 9+: javafx.scene.text.Text.selectionFillProperty()
2929
*/
3030
@SuppressWarnings("unchecked")
31-
public static ObjectProperty<Paint> Text_selectionFillProperty(Text text) {
31+
static ObjectProperty<Paint> Text_selectionFillProperty(Text text) {
3232
try {
3333
if (mText_selectionFillProperty == null) {
3434
mText_selectionFillProperty = Text.class.getMethod(

0 commit comments

Comments
 (0)