- * As a side effect, resets the {@link SystemReader} to the original default
- * instance.
- */
+ /** Reset the clock to use the actual system clock. */
public static synchronized void useSystemTime() {
DateTimeUtils.setCurrentMillisSystem();
- SystemReader.setInstance(null);
}
private TestTimeUtil() {
diff --git a/gerrit-war/pom.xml b/gerrit-war/pom.xml
index 753a4928e0..f5b078e779 100644
--- a/gerrit-war/pom.xml
+++ b/gerrit-war/pom.xml
@@ -62,7 +62,7 @@