File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
java/src/org/openqa/selenium/support Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ java_export(
3535 "//java/src/org/openqa/selenium/support/ui:components" ,
3636 "//java/src/org/openqa/selenium/support/ui:elements" ,
3737 "//java/src/org/openqa/selenium/support/ui:wait" ,
38+ artifact ("org.jspecify:jspecify" ),
3839 ],
3940)
4041
Original file line number Diff line number Diff line change 2020import java .util .Locale ;
2121import java .util .regex .Matcher ;
2222import java .util .regex .Pattern ;
23+ import org .jspecify .annotations .NullMarked ;
24+ import org .jspecify .annotations .Nullable ;
2325
26+ @ NullMarked
2427public class Color {
2528 private final int red ;
2629 private final int green ;
@@ -122,7 +125,7 @@ public int hashCode() {
122125 }
123126
124127 private abstract static class Converter {
125- public Color getColor (String value ) {
128+ public @ Nullable Color getColor (String value ) {
126129 Matcher matcher = getPattern ().matcher (value );
127130 if (matcher .find ()) {
128131 double a = 1.0 ;
You can’t perform that action at this time.
0 commit comments