Toggle navigation
Home
java.util.Set to java.util.concurrent.ConcurrentMap
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'pentaho-kettle'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
internalCaches.contains(name)
to
internalCaches.containsKey(name)
kettleLifecycleListeners.add(listener)
to
kettleLifecycleListeners.put(listener,false)
KettleEnvironment.isInitialized()
to
initialized.get()
listener.onEnvironmentInit()
to
onEnvironmentInit(listener)
LogChannel.GENERAL.logError(message,ex)
to
Throwables.propagate(e)
Rename Method invocation
contains
to
containsKey
Cascading Type Change (Different)
LifecycleException
to
Throwable
Update Anonymous class
{ @Override public void pluginAdded( Object serviceObject){ KettleLifecycleListener listener=null; try { listener=(KettleLifecycleListener)registry.loadClass((PluginInterface)serviceObject); } catch ( KettlePluginException e) { e.printStackTrace(); return; } kettleLifecycleListeners.add(listener); if (KettleEnvironment.isInitialized()) { try { listener.onEnvironmentInit(); } catch ( LifecycleException ex) { String message=BaseMessages.getString(PKG,"LifecycleSupport.ErrorInvokingKettleLifecycleListener",listener); LogChannel.GENERAL.logError(message,ex); } } } @Override public void pluginRemoved( Object serviceObject){ kettleLifecycleListeners.remove(serviceObject); } @Override public void pluginChanged( Object serviceObject){ } }
to
{ @Override public void pluginAdded( Object serviceObject){ KettleLifecycleListener listener=null; try { listener=(KettleLifecycleListener)registry.loadClass((PluginInterface)serviceObject); } catch ( KettlePluginException e) { e.printStackTrace(); return; } kettleLifecycleListeners.put(listener,false); if (initialized.get()) { try { onEnvironmentInit(listener); } catch ( Throwable e) { Throwables.propagate(e); } } } @Override public void pluginRemoved( Object serviceObject){ kettleLifecycleListeners.remove(serviceObject); } @Override public void pluginChanged( Object serviceObject){ } }