From 48295e16fc304221123fc38f9c492d711f05c897 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Thu, 7 Feb 2019 17:31:56 +0100 Subject: [PATCH] Fix assertion Closes gh-15871 --- .../boot/cli/compiler/dependencies/Dependency.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/Dependency.java b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/Dependency.java index e703714f06..52f7b6d7a5 100644 --- a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/Dependency.java +++ b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/Dependency.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -145,7 +145,7 @@ public final class Dependency { Exclusion(String groupId, String artifactId) { Assert.notNull(groupId, "GroupId must not be null"); - Assert.notNull(groupId, "ArtifactId must not be null"); + Assert.notNull(artifactId, "ArtifactId must not be null"); this.groupId = groupId; this.artifactId = artifactId; }