diff --git a/docs/modules/clusters/pages/ucn-enable.adoc b/docs/modules/clusters/pages/ucn-enable.adoc index e4da5d950..a81c8ce59 100644 --- a/docs/modules/clusters/pages/ucn-enable.adoc +++ b/docs/modules/clusters/pages/ucn-enable.adoc @@ -19,13 +19,13 @@ import com.hazelcast.config.Config; import com.hazelcast.config.UserCodeNamespaceConfig; import com.hazelcast.core.Hazelcast; import com.hazelcast.core.HazelcastInstance; -HazelcastInstance hz = Hazelcast.newHazelcastInstance(config); public class Member { public static void main(String[] args) { Config config = new Config(); config.getNamespacesConfig().setEnabled(true); + HazelcastInstance hz = Hazelcast.newHazelcastInstance(config); } } ----