Changeset 6965


Ignore:
Timestamp:
Oct 2, 2015, 9:26:28 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

Removing unused imports and fixes warnings from eclipse.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/AnnotationUtil.java

    r6947 r6965  
    179179    // Load annotation type information
    180180    Type valueType = at.getValueType();
    181     Formatter formatter = FormatterFactory.getTypeFormatter(dc.getSessionControl(), valueType);
     181    Formatter<Object> formatter = (Formatter<Object>)FormatterFactory.getTypeFormatter(dc.getSessionControl(), valueType);
    182182   
    183183    jsonAt.put("id", at.getId());
     
    297297
    298298  @SuppressWarnings("unchecked")
    299   static void createJSON(JSONObject json, DbControl dc, Annotation a, Formatter formatter, boolean formatAll)
     299  static void createJSON(JSONObject json, DbControl dc, Annotation a, Formatter<Object> formatter, boolean formatAll)
    300300  {
    301301    json.put("id", a.getId());
     
    311311   
    312312    // Populate the values array
    313     List values = a.getValues(null);
     313    List<?> values = a.getValues(null);
    314314    if (values != null)
    315315    {
  • trunk/src/core/net/sf/basedb/core/ItemContext.java

    r6936 r6965  
    5757import java.util.Arrays;
    5858import java.util.Collection;
    59 import java.util.Collections;
    6059import java.util.Iterator;
    6160import java.util.Map;
  • trunk/src/plugins/core/net/sf/basedb/plugins/executor/IOSupport.java

    r6898 r6965  
    2222package net.sf.basedb.plugins.executor;
    2323
    24 import net.sf.basedb.core.BaseException;
    2524import net.sf.basedb.core.ProgressReporter;
    2625import net.sf.basedb.core.SessionControl;
  • trunk/src/test/TestItemList.java

    r6891 r6965  
    2323
    2424import java.util.ArrayList;
    25 import java.util.Collections;
    2625import java.util.Date;
    2726import java.util.List;
Note: See TracChangeset for help on using the changeset viewer.