Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 2.0-M1
-
Component/s: None
-
Labels:None
Description
there are a number of DSL methods in the base class which can be kinda used anywhere - which can lead to confusion... e.g.
http://www.nabble.com/Non-registry-beans-td20088181s22882.html
as part of 2.0.0 we should try zap most of the public methods which don't make much sense - so we encourage folks to use the context based methods.
e.g. rather than
filter(someStaticMethod).to()
we should prefer
filter().xpath("..".to()
i.e. using filter(). in an IDE will show a better completion list than allowing any static method import