nihad640 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Statuses in RPCResponse should be final #659

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using 3.0.

In com.smartgwt.client.rpc.RPCResponse, the constants for statuses are not 
really constants because they are not final.
Due to this, it's not possible to use them in a switch statement like below:

switch (status) {
    case RPCResponse.STATUS_SUCCESS:
        ...
}

Original issue reported on code.google.com by gael.mar...@gmail.com on 6 Mar 2012 at 12:54

GoogleCodeExporter commented 9 years ago
We've queued this to be addressed (no ETA yet).

Original comment by smartgwt...@gmail.com on 6 Mar 2012 at 5:43

GoogleCodeExporter commented 9 years ago
Thanks

Original comment by gael.mar...@gmail.com on 6 Mar 2012 at 6:28

GoogleCodeExporter commented 9 years ago
Fixed for 3.1d, see smartclient.com/builds.

Original comment by smartgwt...@gmail.com on 18 Apr 2012 at 12:17