Skip to content

Commit 6e853d1

Browse files
chore: Remove redundant initializer
1 parent 03925d3 commit 6e853d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/jenkins/plugins/lockableresources/LockStepExecution.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean start() throws Exception {
5252

5353
List<LockableResourcesStruct> resourceHolderList = new ArrayList<>();
5454

55-
List<LockableResource> available = null;
55+
List<LockableResource> available;
5656
LinkedHashMap<String, List<LockableResourceProperty>> lockedResources = new LinkedHashMap<>();
5757
LockableResourcesManager lrm = LockableResourcesManager.get();
5858
synchronized (LockableResourcesManager.syncResources) {
@@ -177,8 +177,8 @@ public static void proceed(
177177
String resourceDescription,
178178
final String variable) {
179179
Run<?, ?> build;
180-
FlowNode node = null;
181-
PrintStream logger = null;
180+
FlowNode node;
181+
PrintStream logger;
182182
try {
183183
build = context.get(Run.class);
184184
node = context.get(FlowNode.class);

0 commit comments

Comments
 (0)