We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734aa82 commit 592109cCopy full SHA for 592109c
src/main/java/net/ripe/rpki/ta/util/ValidityPeriods.java
@@ -10,7 +10,7 @@ public class ValidityPeriods {
10
11
// Since this program runs within a script, we can safely assume that all
12
// calls to "now" can be replaced with a value calculated only once.
13
- private static DateTime globalNow = DateTime.now(DateTimeZone.UTC);
+ private static volatile DateTime globalNow = DateTime.now(DateTimeZone.UTC);
14
15
public static DateTime now() {
16
return globalNow;
0 commit comments