Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 689672374
Change-Id: Ic3e934023cf5c9df95f3d3e3db1dc6b1d7417ec2
  • Loading branch information
Googler authored and copybara-github committed Oct 25, 2024
1 parent 6f93554 commit 5357798
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,6 @@ public synchronized FakeTestClock advance(Duration duration) {
return this;
}

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ public class TestIntegrationsExporter {

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;
}
Expand Down

0 comments on commit 5357798

Please sign in to comment.