From e8bbfc981e21f0f4176b1ccd2da4954e822388ed Mon Sep 17 00:00:00 2001 From: Stephen Connolly Date: Tue, 20 Jun 2017 10:30:04 +0100 Subject: [PATCH] [JENKINS-43507] Plugin requested formatting changes --- .../java/hudson/plugins/mercurial/MercurialSCMSource.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java b/src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java index f7e7477f..6c22a23d 100644 --- a/src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java +++ b/src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java @@ -237,8 +237,7 @@ MercurialRevision create(@Nonnull SCMHead branch) { }, new SCMSourceRequest.ProbeLambda() { @Override public @Nonnull - SCMSourceCriteria.Probe create(@Nonnull SCMHead branch, @Nullable final - MercurialRevision revision) { + SCMSourceCriteria.Probe create(@Nonnull SCMHead branch, @Nullable final MercurialRevision revision) { return new SCMProbeImpl(hg, cache, listener, revision, name); } }, new SCMSourceRequest.Witness() { @@ -366,8 +365,8 @@ public ListBoxModel doFillCredentialsIdItems(@AncestorInPath SCMSourceOwner owne .withAll(availableCredentials(owner, source)); } - private boolean hasAccessToCredentialsMetadata(SCMSourceOwner owner) { - if (owner == null) { + private boolean hasAccessToCredentialsMetadata(SCMSourceOwner owner){ + if (owner == null){ return Jenkins.getActiveInstance().hasPermission(Jenkins.ADMINISTER); } return owner.hasPermission(Item.EXTENDED_READ);