Skip to content

Commit b8bfaa8

Browse files
jeyoungkcopybara-github
authored andcommitted
add to lastModified checked exception list
BUG=331420990 PiperOrigin-RevId: 623179939 Change-Id: I1500d8d2ceebeae63d8d9bf56f5376ce18e823d9
1 parent 6298cd6 commit b8bfaa8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java/com/google/copybara/DestinationReader.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,8 @@ public abstract void copyDestinationFilesToDirectory(Glob glob, Path directory)
157157
@SuppressWarnings("unused")
158158
public abstract boolean exists(String path);
159159

160-
/**
161-
* Fetch the destination version at which this file was last modified.
162-
*/
163-
public String lastModified(String path) throws IOException {
160+
/** Fetch the destination version at which this file was last modified. */
161+
public String lastModified(String path) throws IOException, RepoException {
164162
throw new UnsupportedOperationException(
165163
"Last modified is not implemented in this destination reader.");
166164
}

0 commit comments

Comments
 (0)