Skip to content

Commit

Permalink
Annotate InstantSource.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpovirk committed Oct 4, 2024
1 parent cbe846f commit 57eb56b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/java.base/share/classes/java/time/InstantSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*/
package java.time;

import org.jspecify.annotations.NullMarked;

import java.time.Clock.SourceClock;
import java.time.Clock.SystemInstantSource;
import java.util.Objects;
Expand Down Expand Up @@ -95,6 +97,7 @@
*
* @since 17
*/
@NullMarked
public interface InstantSource {

/**
Expand Down

0 comments on commit 57eb56b

Please sign in to comment.