Changeset 1271 for trunk


Ignore:
Timestamp:
07/25/13 15:19:22 (11 years ago)
Author:
pharms
Message:
  • removed find bugs warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils/src/main/java/de/ugoe/cs/util/console/CommandExecuter.java

    r1243 r1271  
    2222import java.net.URL; 
    2323import java.util.ArrayList; 
     24import java.util.Arrays; 
    2425import java.util.Comparator; 
    2526import java.util.Enumeration; 
     
    327328        } 
    328329         
    329         return availableCommands; 
     330        return Arrays.copyOf(availableCommands, availableCommands.length); 
    330331    } 
    331332     
Note: See TracChangeset for help on using the changeset viewer.