Skip to content

Commit

Permalink
Make Info fields public
Browse files Browse the repository at this point in the history
These fields need to be accessed from our internal implementation

PiperOrigin-RevId: 225883992
Change-Id: I09ef8c885952fbcdd645c3cfcb0082822459c9e1
  • Loading branch information
denian authored and Copybara-Service committed Dec 18, 2018
1 parent a40147e commit bc0e469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/com/google/copybara/Info.java
Expand Up @@ -69,7 +69,7 @@ public static <O extends Revision> MigrationReference<O> create(
* ever migrated.
*/
@Nullable
abstract O getLastMigrated();
public abstract O getLastMigrated();

/**
* Returns the last available {@link Revision} to migrate from the origin, or {@code null} if
Expand All @@ -79,7 +79,7 @@ public static <O extends Revision> MigrationReference<O> create(
* recent change available at this moment.
*/
@Nullable
O getLastAvailableToMigrate() {
public O getLastAvailableToMigrate() {
Optional<O> lastAvailable =
getAvailableToMigrate()
.stream()
Expand Down

0 comments on commit bc0e469

Please sign in to comment.