mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-05 11:50:58 +01:00
Fix suppressions
This commit is contained in:
@@ -32,8 +32,10 @@ public abstract class SimpleWorkdirFactory<R, W, C> implements WorkdirFactory<R,
|
||||
protected abstract Repository getScmRepository(C context);
|
||||
|
||||
@SuppressWarnings("squid:S00112")
|
||||
// We do allow implementations to throw arbitrary exceptions here, so that we can handle them in close
|
||||
// We do allow implementations to throw arbitrary exceptions here, so that we can handle them in closeCentral
|
||||
protected abstract void closeRepository(R repository) throws Exception;
|
||||
@SuppressWarnings("squid:S00112")
|
||||
// We do allow implementations to throw arbitrary exceptions here, so that we can handle them in closeWorkdir
|
||||
protected abstract void closeWorkdirInternal(W workdir) throws Exception;
|
||||
|
||||
protected abstract ParentAndClone<R, W> cloneRepository(C context, File target, String initialBranch) throws IOException;
|
||||
|
||||
Reference in New Issue
Block a user