Ignore:
Timestamp:
01/09/14 16:13:48 (10 years ago)
Author:
twagoo
Message:

Replaced calls getting session (either on component or statically) and casting to VloSession? with new convenience method VloSession?.get()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/pages/FacetedSearchPage.java

    r4239 r4240  
    167167            param = new PageParameters(query.getPageParameters());
    168168            // add the session persistent parameters
    169             param.mergeWith(((VloSession)this.getSession()).getVloSessionPageParameters());
     169            param.mergeWith(VloSession.get().getVloSessionPageParameters());
    170170
    171171            final RequestCycle reqCycle = getRequestCycle();
     
    191191            PageParameters param = query.getPageParameters();
    192192            // add the session persistent parameters
    193             param.mergeWith(((VloSession)this.getSession()).getVloSessionPageParameters());
     193            param.mergeWith(VloSession.get().getVloSessionPageParameters());
    194194
    195195            setResponsePage(FacetedSearchPage.class, param);
Note: See TracChangeset for help on using the changeset viewer.