Project

General

Profile

« Previous | Next » 

Revision 3361

Added by barteau over 17 years ago

Removed "generics" to make java 1.4 compatible.

View differences:

src/edu/ucsb/nceas/metacat/clientview/ClientHtmlHelper.java
35 35
     */
36 36
    public static String mapToHtmlSelect(Map map, String name, String style, int size) {
37 37
        String                      result = "", item, key, optGrp;
38
        Iterator<String>            iterIt;
38
        Iterator                    iterIt;
39 39
        Object                      obj;
40 40
        Vector                      vector;
41 41
        Iterator                    completeIterIt;
42 42
        
43 43
        iterIt = map.keySet().iterator();
44 44
        while(iterIt.hasNext()) {
45
            key = iterIt.next();
45
            key = (String) iterIt.next();
46 46
            obj = map.get(key);
47 47
            if (obj instanceof String) {
48 48
                item = (String) obj;

Also available in: Unified diff