code formatting

This commit is contained in:
Claudio Atzori 2020-07-30 11:33:03 +02:00
parent 9e594cf4c2
commit 4ff184973b
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ public class ResetHiveDbApplication {
log.info("isSparkSessionManaged: {}", isSparkSessionManaged);
final String dbName = Optional
.ofNullable(parser.get("dbName"))
.orElseThrow(() -> new IllegalArgumentException("missing DB name"));
.ofNullable(parser.get("dbName"))
.orElseThrow(() -> new IllegalArgumentException("missing DB name"));
log.info("dbName: {}", dbName);
SparkConf conf = new SparkConf();