Skip to content

Commit a1e3a5a

Browse files
joshthornhillsnicoll
authored andcommitted
Fix missing space in logging message
Closes gh-3298
1 parent 2b13736 commit a1e3a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2014 the original author or authors.
2+
* Copyright 2012-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -392,7 +392,7 @@ private PropertySource<?> loadIntoGroup(String identifier, String location,
392392
msg.append("config file ");
393393
msg.append("'").append(location).append("'");
394394
if (StringUtils.hasLength(profile)) {
395-
msg.append(" for profile" + profile);
395+
msg.append(" for profile ").append(profile);
396396
}
397397
if (resource == null || !resource.exists()) {
398398
msg.append(" resource not found");

0 commit comments

Comments
 (0)