On 08/14/2013 12:45 AM, Stef wrote:
> Hi Group
>
> Was method qx.lang.String.trim() intentionally removed? (Existed in 2.1.1
> and 2.1.2)
> qx.lang.String.trimLeft() and qx.lang.String.trimRight() are still existing.
>
> Is usage if qx.lang.String in any regard deprecated?

Many of the APIs from qx.lang have already been deprecated with 2.1. 
Many of the more standard APIs of built-in types have been removed from 
qx.lang and are now available as instance methods, like 
qx.lang.String.trim (pot. through a polyfill).

Unfortunately, the 2.1 release notes made only a general remark about 
cleaning up qx.lang, and linked to the corresponding bug [1] for 
details. But you should have received numerous messages about this 
during migration and running the source version of your app under 2.1, 
no?! The migration would also automatically have re-written your code to 
use the instance methods, so you should be fine with existing code.

As for new code, the APIs deprecated with 2.1 have, as usual, been 
removed with 3.0. So with 3.0 you can only use the instance methods, 
e.g. " foo ".trim(). Sorry for the lack of a comprehensive listing of 
those APIs in the release notes.

T.

[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=6665


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to