Automatic code cleanup.
PiperOrigin-RevId: 689672374
Change-Id: Ic3e934023cf5c9df95f3d3e3db1dc6b1d7417ec2
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/FakeTestClock.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/FakeTestClock.java
index b95bbc8..7cb4285 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/FakeTestClock.java
+++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/FakeTestClock.java
@@ -40,21 +40,6 @@
}
/**
- * Sets the increment applied to the ticker whenever it is queried.
- *
- * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
- * queried.
- */
- @CanIgnoreReturnValue
- public synchronized FakeTestClock setAutoIncrementStep(Duration autoIncrementStep) {
- if (autoIncrementStep.toNanos() < 0) {
- throw new IllegalArgumentException("May not auto-increment by a negative amount");
- }
- this.autoIncrementStep = autoIncrementStep;
- return this;
- }
-
- /**
* Sets the wall time offset to the specified value. That is the offset between the wall time and
* the monotonic advance set either via {@link #setAutoIncrementStep(Duration)} or {@link
* #advance(Duration)}.
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/TestIntegrationsExporter.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/TestIntegrationsExporter.java
index 486fba4..9faf1be 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/TestIntegrationsExporter.java
+++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/util/TestIntegrationsExporter.java
@@ -31,17 +31,6 @@
private final Callback callback;
- /**
- * Creates a fake {@code TestIntegrationsExporter} instance, passing values to the passed-in
- * callback.
- *
- * @param callback Callback to use when values are exported
- * @return exporter instance
- */
- public static TestIntegrationsExporter createFake(final Callback callback) {
- return new TestIntegrationsExporter(callback);
- }
-
protected TestIntegrationsExporter(Callback callback) {
this.callback = callback;
}