private Map<String, String> createMapFromTable() { Map<String, String> temp = new HashMap<String, String>(); for (TestProperty tp : sensitiveInformationTableModel.getHolder().getPropertyList()) { temp.put(tp.getName(), tp.getValue()); } return temp; }
private List<String> createListFromTable() { List<String> temp = new ArrayList<String>(); for (TestProperty tp : sensitiveInformationTableModel.getHolder().getPropertyList()) { String tokenPlusDescription = tp.getName() + "###" + tp.getValue(); temp.add(tokenPlusDescription); } return temp; }