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-php/src/main/java/de/ugoe/cs/quest/plugin/php/PHPPlugin.java

    r516 r772  
    11package de.ugoe.cs.quest.plugin.php; 
     2 
     3import java.util.Arrays; 
     4import java.util.Collections; 
     5import java.util.List; 
    26 
    37import de.ugoe.cs.quest.plugin.QuestPlugin; 
     
    3640         */ 
    3741        @Override 
    38         public String[] getCommandPackages() { 
    39                 return commandPackages; 
     42        public List<String> getCommandPackages() { 
     43                return Collections.unmodifiableList(Arrays.asList(commandPackages)); 
    4044        } 
    41  
    4245} 
Note: See TracChangeset for help on using the changeset viewer.