It can be nice to use IRational objects as settings in Spring files, but
currently the value of a IRational is not resettable after construction.
This makes for weird looking Spring config files:
<bean class="com.xuggle.xuggler.IRational" factory-method="make">
<constructor-arg index="0" value="15" />
<constructor-arg index="1" value="1" />
</bean>
It would be nicer for Spring if we could do:
<bean class="com.xuggle.xuggler.IRational"
factory-method="make">
<property name="value" value="15.0"></property>
</bean>
Which I'm going to implement, while still maintaining the concept of
immutable-ness when it matters.
Original issue reported on code.google.com by art.cla...@gmail.com on 18 Aug 2009 at 3:36
Original issue reported on code.google.com by
art.cla...@gmail.com
on 18 Aug 2009 at 3:36