mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 03:25:56 +01:00
fix code smell
This commit is contained in:
@@ -40,7 +40,7 @@ public class SvnLookupCommand extends AbstractSvnCommand implements LookupComman
|
||||
@Override
|
||||
public <T> Optional<T> lookup(LookupCommandRequest request) {
|
||||
try {
|
||||
if ("propget".equalsIgnoreCase(request.getArgs()[0])) {
|
||||
if (request.getArgs().length > 1 && "propget".equalsIgnoreCase(request.getArgs()[0])) {
|
||||
return lookupProps(request);
|
||||
}
|
||||
} catch (SVNException e) {
|
||||
|
||||
@@ -156,6 +156,7 @@ public class SvnRepositoryServiceProvider extends RepositoryServiceProvider
|
||||
return new SvnModifyCommand(context, workingCopyFactory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LookupCommand getLookupCommand() { return new SvnLookupCommand(context);}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user