Bringing an application up from Applinx 5.2.5 to 8.2.2, I get a deprecation warning. (bunches, actually)
Here is a code snippet:
package contexts;
import com.sabratec.applinx.baseobject.table.*;
import com.sabratec.applinx.common.generate.GXTableSerializer;
public class Chn_excel extends GXBasicContext
{
public void gx_onLoad() {
super.gx_onLoad() ;
try{
gx_attach();
GXITable gx_table = null;
/// Retrieving A table stored in the http session
Object obj = getSession().getAttribute(EXCEL_TABLE_SESSION_KEY);
if (obj != null){
gx_table = (GXITable)obj;
}
else{
gx_table = getGXSession().getTable();
}
How can I fix this easily? Any help will be appreciated.