Skip to content

Commit 046041b

Browse files
authored
Annotate InstantSource. (#87)
1 parent cbe846f commit 046041b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/java.base/share/classes/java/time/InstantSource.java

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
*/
2525
package java.time;
2626

27+
import org.jspecify.annotations.NullMarked;
28+
2729
import java.time.Clock.SourceClock;
2830
import java.time.Clock.SystemInstantSource;
2931
import java.util.Objects;
@@ -95,6 +97,7 @@
9597
*
9698
* @since 17
9799
*/
100+
@NullMarked
98101
public interface InstantSource {
99102

100103
/**

0 commit comments

Comments
 (0)