Changeset 340:8fff0791d532 in finroc_tools_gui-java


Ignore:
Timestamp:
03.09.2018 16:19:08 (4 years ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Children:
341:24ca69e9ca30, 347:8253fab1c7d3
Phase:
public
Message:

Removes unnecessary Java 8 dependency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • util/propertyeditor/gui/DataTypeEditor.java

    r326 r340  
    2727import java.awt.event.ActionListener; 
    2828import java.util.ArrayList; 
     29import java.util.Collections; 
    2930import java.util.Comparator; 
    3031import java.util.TreeMap; 
     
    156157 
    157158        // sort filtered types by length 
    158         filteredTypes.sort(this); 
     159        Collections.sort(filteredTypes, this); 
    159160 
    160161        typeSelector.setModel(new JComboBox<Object>(filteredTypes.toArray()).getModel()); 
Note: See TracChangeset for help on using the changeset viewer.