Ignore:
Timestamp:
09/05/12 15:53:38 (12 years ago)
Author:
sherbold
Message:
  • updated QuestPlugin? API and implementing plug-ins to ensure that the internal representation is immutable from the outside.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCPlugin.java

    r655 r772  
    11package de.ugoe.cs.quest.plugin.jfc; 
     2 
     3import java.util.Arrays; 
     4import java.util.Collections; 
     5import java.util.List; 
    26 
    37import de.ugoe.cs.quest.plugin.QuestPlugin; 
     
    3741     */ 
    3842    @Override 
    39     public String[] getCommandPackages() { 
    40         return commandPackages; 
     43    public List<String> getCommandPackages() { 
     44        return Collections.unmodifiableList(Arrays.asList(commandPackages)); 
    4145    } 
    4246 
Note: See TracChangeset for help on using the changeset viewer.