Skip to content

Commit dad6cd8

Browse files
committed
Pick up change to scm-api
1 parent 6657438 commit dad6cd8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/java/jenkins/scm/impl/subversion/SubversionSCMSource.java

+3-6
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,9 @@ public synchronized String getUuid() {
185185
*/
186186
@NonNull
187187
@Override
188-
public <O extends SCMHeadObserver> O fetch(@NonNull final O observer,
189-
@CheckForNull TaskListener listener)
188+
protected void retrieve(@NonNull final SCMHeadObserver observer,
189+
@NonNull TaskListener listener)
190190
throws IOException {
191-
listener = defaultListener(listener);
192191
SVNRepositoryView repository = null;
193192
try {
194193
listener.getLogger().println("Opening conection to " + remoteBase);
@@ -212,16 +211,14 @@ public <O extends SCMHeadObserver> O fetch(@NonNull final O observer,
212211
} finally {
213212
closeSession(repository);
214213
}
215-
return observer;
216214
}
217215

218216
/**
219217
* {@inheritDoc}
220218
*/
221219
@Override
222-
public SCMRevision fetch(@NonNull SCMHead head, @CheckForNull TaskListener listener)
220+
protected SCMRevision retrieve(@NonNull SCMHead head, @NonNull TaskListener listener)
223221
throws IOException {
224-
listener = defaultListener(listener);
225222
SVNRepositoryView repository = null;
226223
try {
227224
listener.getLogger().println("Opening conection to " + remoteBase);

0 commit comments

Comments
 (0)