Changeset 475 for trunk/quest-core-usability/src/main
- Timestamp:
- 07/25/12 13:47:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-usability/src/main/java/de/ugoe/cs/quest/usability/UsabilityDefectDescription.java
r453 r475 10 10 import java.io.IOException; 11 11 import java.io.InputStream; 12 import java.util.ArrayList; 13 import java.util.List; 12 14 import java.util.Map; 13 15 … … 117 119 */ 118 120 //----------------------------------------------------------------------------------------------- 121 public String[] getDescriptionParameters() 122 { 123 List<String> parameters = new ArrayList<String>(); 124 125 for (Object fragment : mDefectDescription.getTextFragmentOrParameterFragment()) 126 { 127 if (fragment instanceof ParameterFragment) 128 { 129 parameters.add(((ParameterFragment) fragment).getParameterName()); 130 } 131 } 132 133 return parameters.toArray(new String[parameters.size()]); 134 } 135 136 //----------------------------------------------------------------------------------------------- 137 /** 138 * 139 */ 140 //----------------------------------------------------------------------------------------------- 119 141 public String toString(Map<String, String> parameters) throws IllegalArgumentException 120 142 {
Note: See TracChangeset
for help on using the changeset viewer.