Skip to content

Commit

Permalink
Simplify more
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Dec 11, 2024
1 parent cb4666b commit 72c3c86
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.nio.file.Path;
import java.time.Clock;
import java.time.Instant;
import java.time.temporal.Temporal;

import org.eclipse.aether.RequestTrace;

Expand All @@ -43,7 +42,7 @@ public final class TransferResource {

private final Path path;

private final Temporal startTime;
private final Instant startTime;

private final RequestTrace trace;

Expand Down Expand Up @@ -257,7 +256,7 @@ public long getTransferStartTime() {
*
* @return The timestamp when the transfer of this resource was started.
*/
public Temporal getStartTime() {
public Instant getStartTime() {
return startTime;
}

Expand Down

0 comments on commit 72c3c86

Please sign in to comment.