Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit f6e17bf

Browse files
committed
Check interpolated config value is non-null before applying it
1 parent 5f89d9d commit f6e17bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.sisu.plexus/src/org/eclipse/sisu/plexus/PlexusAnnotatedMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Configuration getConfiguration( final BeanProperty<?> property )
6565
// support runtime interpolation of @Configuration values
6666
final String uninterpolatedValue = configuration.value();
6767
final String value = interpolate( uninterpolatedValue );
68-
if ( !value.equals( uninterpolatedValue ) )
68+
if ( null != value && !value.equals( uninterpolatedValue ) )
6969
{
7070
return new ConfigurationImpl( configuration.name(), value );
7171
}

0 commit comments

Comments
 (0)