From 1157c337f49953eed06b94301265d53636864815 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 4 Dec 2019 10:56:35 +0100 Subject: [PATCH] #124 - Polishing. Fix typo in property name. --- .../org/springframework/data/release/build/BuildExecutor.java | 2 +- .../org/springframework/data/release/build/MavenProperties.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/release/build/BuildExecutor.java b/src/main/java/org/springframework/data/release/build/BuildExecutor.java index d89841e..4b5e01a 100644 --- a/src/main/java/org/springframework/data/release/build/BuildExecutor.java +++ b/src/main/java/org/springframework/data/release/build/BuildExecutor.java @@ -69,7 +69,7 @@ class BuildExecutor { this.logger = logger; this.mavenProperties = mavenProperties; - if (this.mavenProperties.isParllelize()) { + if (this.mavenProperties.isParallelize()) { int processors = Runtime.getRuntime().availableProcessors(); int parallelity = Math.max(2, (processors / 2)); executor = new ThreadPoolExecutor(parallelity, parallelity, 10, TimeUnit.MINUTES, new ArrayBlockingQueue<>(256)); diff --git a/src/main/java/org/springframework/data/release/build/MavenProperties.java b/src/main/java/org/springframework/data/release/build/MavenProperties.java index 15cce6d..365700d 100644 --- a/src/main/java/org/springframework/data/release/build/MavenProperties.java +++ b/src/main/java/org/springframework/data/release/build/MavenProperties.java @@ -41,7 +41,7 @@ class MavenProperties { private File localRepository; private Map plugins; private boolean consoleLogger = true; - private boolean parllelize = false; + private boolean parallelize = false; /** * Configures the local Maven repository location to use. In case the given folder does not already exists it's