Creating a JavaBean and setting several properties can
get very wordy in BeanShell.
For example in BeanShell...
SomeBean bean = new SomeBean();
bean.prop1 = value1;
bean.prop2 = value2;
bean.prop3 = value3;
bean.prop4 = value4;
bean{ "prop5" } = value5;
This syntax is ugly. Please find a way to reduce.
Examples:
SomeBean bean = new SomeBean(
prop1=value1;
prop2=value2;
prop3=value3;
prop4=value4;
prop5=value5 );
Syntax like this is much more readable, and easy to use
when scripting.
Diff:
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/94