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/experiments/bioassays/view_bioassay.jsp

    r7210 r7604  
    6161  import="net.sf.basedb.clients.web.extensions.JspContext"
    6262  import="net.sf.basedb.clients.web.extensions.renderer.PrefixSuffixRenderer"
     63  import="net.sf.basedb.clients.web.extensions.toolbar.ButtonAction"
    6364  import="net.sf.basedb.clients.web.extensions.toolbar.ToolbarUtil"
    6465  import="net.sf.basedb.util.extensions.ExtensionsInvoker"
     
    9798  Map<Plugin.MainType, Integer> pluginCount = PluginDefinition.countPlugins(dc, guiContext);
    9899  JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, guiContext, bioAssay);
    99   ExtensionsInvoker invoker = ToolbarUtil.useExtensions(jspContext);
     100  ExtensionsInvoker<ButtonAction> invoker = ToolbarUtil.useExtensions(jspContext);
    100101  %>
    101102  <base:page title="<%=title%>" id="view-page">
     
    166167            />
    167168            <ext:render extensions="<%=invoker%>" context="<%=jspContext%>"
    168               wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
     169              wrapper="<%=new PrefixSuffixRenderer<ButtonAction>(jspContext, "<td>", "</td>") %>"/>
    169170            <tbl:button
    170171              image="help.png"
     
    246247            for (AnnotationType at : experimentalFactors)
    247248            {
    248               Formatter formatter = FormatterFactory.getTypeFormatter(sc, at.getValueType());
     249              Formatter<?> formatter = FormatterFactory.getTypeFormatter(sc, at.getValueType());
    249250              %>
    250251              <tbl:columndef
     
    293294                        {
    294295                          boolean annotatePermission = a.hasPermission(dc, Permission.WRITE);
    295                           List values = a.getActualValues();
     296                          List<?> values = a.getActualValues();
    296297                          boolean isUpToDate = a.isUpToDate();
    297298                          %>
Note: See TracChangeset for help on using the changeset viewer.