Fix a couple of minor style nits
- Make line wrapping on declaration of logger consistent
- Declare injected constructor parameters on separate lines
Change-Id: I37ba7afe17b4e902b418f5c0f4a48d0f47767b76
diff --git a/src/main/java/com/googlesource/gerrit/plugins/refprotection/RefUpdateListener.java b/src/main/java/com/googlesource/gerrit/plugins/refprotection/RefUpdateListener.java
index 7a67960..1af4547 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/refprotection/RefUpdateListener.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/refprotection/RefUpdateListener.java
@@ -30,8 +30,8 @@
class RefUpdateListener implements GitReferenceUpdatedListener {
- private static final Logger log = LoggerFactory
- .getLogger(RefUpdateListener.class);
+ private static final Logger log =
+ LoggerFactory.getLogger(RefUpdateListener.class);
private final CreateBranch.Factory createBranchFactory;
private final ProjectControl.GenericFactory projectControl;
private final CurrentUser user;
@@ -39,7 +39,8 @@
@Inject
RefUpdateListener(CreateBranch.Factory createBranchFactory,
- ProjectControl.GenericFactory p, CurrentUser user,
+ ProjectControl.GenericFactory p,
+ CurrentUser user,
GitRepositoryManager repoManager) {
this.createBranchFactory = createBranchFactory;
this.projectControl = p;