diff options
author | Tom Schindl | 2016-07-29 10:21:42 +0000 |
---|---|---|
committer | Tom Schindl | 2016-07-29 10:21:42 +0000 |
commit | 082c31e146c3f87c6a506fbd2414e705c35048fe (patch) | |
tree | 1e3bb66d184a6045d3f3933602c797d53f0f1e98 | |
parent | 7558035dec22f3a451e16b486e1133f1c96e84d7 (diff) | |
download | org.eclipse.efxclipse-082c31e146c3f87c6a506fbd2414e705c35048fe.tar.gz org.eclipse.efxclipse-082c31e146c3f87c6a506fbd2414e705c35048fe.tar.xz org.eclipse.efxclipse-082c31e146c3f87c6a506fbd2414e705c35048fe.zip |
Bug 498875 - Nullpointer Errors in Neon
-rw-r--r-- | bundles/runtime/org.eclipse.fx.core.di.context/src/org/eclipse/fx/core/di/context/internal/PreferenceValueSupplier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/runtime/org.eclipse.fx.core.di.context/src/org/eclipse/fx/core/di/context/internal/PreferenceValueSupplier.java b/bundles/runtime/org.eclipse.fx.core.di.context/src/org/eclipse/fx/core/di/context/internal/PreferenceValueSupplier.java index 0d4331bb9..b9a68b327 100644 --- a/bundles/runtime/org.eclipse.fx.core.di.context/src/org/eclipse/fx/core/di/context/internal/PreferenceValueSupplier.java +++ b/bundles/runtime/org.eclipse.fx.core.di.context/src/org/eclipse/fx/core/di/context/internal/PreferenceValueSupplier.java @@ -231,7 +231,7 @@ public class PreferenceValueSupplier extends ExtendedObjectSupplier { try { PreferenceDefaultValueFactory<T> instance; instance = (PreferenceDefaultValueFactory<@Nullable T>) factory.newInstance(); - if( instance == null ) { + if( instance != null ) { return instance.create(p); } |