[spring-extensions] branch master updated: fix NPE

Rod Widdowson rdw at steadingsoftware.com
Sun Jun 23 09:57:36 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=b14eb1d896d7cdf46b9e6dc9778f1e21cd7542d7

The following commit(s) were added to refs/heads/master by this push:
       new  b14eb1d   fix NPE
b14eb1d is described below

commit b14eb1d896d7cdf46b9e6dc9778f1e21cd7542d7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jun 23 14:56:58 2019 +0100

    fix NPE
---
 .../java/net/shibboleth/ext/spring/util/ApplicationContextBuilder.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/ext/spring/util/ApplicationContextBuilder.java b/src/main/java/net/shibboleth/ext/spring/util/ApplicationContextBuilder.java
index dbcbe60..6a21a3b 100644
--- a/src/main/java/net/shibboleth/ext/spring/util/ApplicationContextBuilder.java
+++ b/src/main/java/net/shibboleth/ext/spring/util/ApplicationContextBuilder.java
@@ -292,7 +292,7 @@ public class ApplicationContextBuilder {
     @Nonnull public GenericApplicationContext build() {
         
         final FilesystemGenericApplicationContext context = new FilesystemGenericApplicationContext(parentContext);
-        context.setDisplayName("ApplicationContext:" + contextName != null ? contextName : "anonymous");
+        context.setDisplayName("ApplicationContext:" + (contextName != null ? contextName : "anonymous"));
         
         context.setResourceLoader(new PreferFileSystemResourceLoader());
         

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list