Ignore:
Timestamp:
Feb 25, 2019, 1:19:50 PM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2151: Pre-compile all JSP pages before releases

Getting rid of rawtypes warnings. Most of them are relatively simple by adding a type parameter.

Utility functions that are used with generics are typically a bit harder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/devices/index.jsp

    r7452 r7604  
    4848  import="net.sf.basedb.clients.web.extensions.JspContext"
    4949  import="net.sf.basedb.clients.web.extensions.edit.EditUtil"
     50  import="net.sf.basedb.clients.web.extensions.edit.OnSaveAction"
    5051  import="net.sf.basedb.clients.web.extensions.edit.OnSaveRenderer"
    5152  import="net.sf.basedb.clients.web.extensions.list.ListColumnExportRenderer"
     53  import="net.sf.basedb.clients.web.extensions.list.ListColumnAction"
    5254  import="net.sf.basedb.clients.web.extensions.list.ListColumnUtil"
    5355  import="java.util.Set"
     
    134136    }
    135137    JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, GuiContext.item(Item.USERDEVICE), device);
    136     ExtensionsInvoker invoker = EditUtil.useOnSaveExtensions(jspContext);
     138    ExtensionsInvoker<OnSaveAction> invoker = EditUtil.useOnSaveExtensions(jspContext);
    137139    try
    138140    {
     
    189191    cc.setQuery(query);
    190192    JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, GuiContext.list(itemType), null);
    191     ExtensionsInvoker listInvoker = ListColumnUtil.useExtensions(jspContext);
    192     listInvoker.render(new ListColumnExportRenderer(cc));
     193    ExtensionsInvoker<ListColumnAction<UserDevice,?>> listInvoker = ListColumnUtil.useExtensions(jspContext);
     194    listInvoker.render(new ListColumnExportRenderer<UserDevice>(cc));
    193195    dc.close();
    194196    redirect = "../../common/export/index.jsp?ID="+ID+"&cmd=SelectPlugin&item_type="+itemType.name()+"&context_type=LIST&title=Export+devices";
Note: See TracChangeset for help on using the changeset viewer.