Skip to content

Commit 592109c

Browse files
lolepezyCopilot
andauthored
Update src/main/java/net/ripe/rpki/ta/util/ValidityPeriods.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 734aa82 commit 592109c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/ripe/rpki/ta/util/ValidityPeriods.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class ValidityPeriods {
1010

1111
// Since this program runs within a script, we can safely assume that all
1212
// calls to "now" can be replaced with a value calculated only once.
13-
private static DateTime globalNow = DateTime.now(DateTimeZone.UTC);
13+
private static volatile DateTime globalNow = DateTime.now(DateTimeZone.UTC);
1414

1515
public static DateTime now() {
1616
return globalNow;

0 commit comments

Comments
 (0)