Reverted method def change
This commit is contained in:
parent
cbca0c42c4
commit
6dd2210be1
1 changed files with 1 additions and 5 deletions
|
|
@ -171,10 +171,8 @@ public class Configurator<T> {
|
||||||
* been configured if it implements the PreConfigurationActionListener interface.
|
* been configured if it implements the PreConfigurationActionListener interface.
|
||||||
* The postConfigurationAction() method will be called after the target object is
|
* The postConfigurationAction() method will be called after the target object is
|
||||||
* configured if it implements the PostConfigurationActionListener interface.
|
* configured if it implements the PostConfigurationActionListener interface.
|
||||||
*
|
|
||||||
* @return a reference to itself so that metodcalls can be chained.
|
|
||||||
*/
|
*/
|
||||||
public Configurator<T> applyConfiguration(){
|
public void applyConfiguration(){
|
||||||
if(preListener != null)
|
if(preListener != null)
|
||||||
preListener.preConfigurationAction(this, obj);
|
preListener.preConfigurationAction(this, obj);
|
||||||
if(obj instanceof PreConfigurationActionListener)
|
if(obj instanceof PreConfigurationActionListener)
|
||||||
|
|
@ -203,8 +201,6 @@ public class Configurator<T> {
|
||||||
((PostConfigurationActionListener<T>) obj).postConfigurationAction(this, obj);
|
((PostConfigurationActionListener<T>) obj).postConfigurationAction(this, obj);
|
||||||
if(postListener != null)
|
if(postListener != null)
|
||||||
postListener.postConfigurationAction(this, obj);
|
postListener.postConfigurationAction(this, obj);
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue