Revision 1809 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.ogc/org.gvsig.raster.wmts.ogc.impl/src/main/java/org/gvsig/raster/wmts/ogc/impl/base/WMTSServiceInformation.java

View differences:

WMTSServiceInformation.java
43 43
 */
44 44
public class WMTSServiceInformation {
45 45
	public String online_resource = null;
46
	protected HashMap operationsGet = new HashMap();
47
	protected HashMap operationsPost = new HashMap();
46
	protected HashMap<String, WMTSOperation> 
47
	              operationsGet = new HashMap<String, WMTSOperation>();
48
	protected HashMap<String, WMTSOperation> 
49
                  operationsPost = new HashMap<String, WMTSOperation>();
48 50
	public String version;
49 51
	public String name;
50 52
	public String scope;
......
65 67
	public String phone;
66 68
	public String fax;
67 69
	public String email;
68
	public Vector formats;
70
	public Vector<String> 
71
	              formats;
69 72

  
70 73
	public WMTSServiceInformation() {
71 74
		version = new String();
......
88 91
		phone = new String();
89 92
		fax = new String();
90 93
		email = new String();
91
		formats = new Vector();       
94
		formats = new Vector<String>();       
92 95
	}
93 96

  
94 97
	/**
......
170 173
	  * Get a hash map with the supported operations
171 174
	  * @return
172 175
	  */
173
	 public Hashtable getSupportedOperationsByName(){
174
		 Hashtable operations = new Hashtable();
175
		 Iterator getIt = operationsGet.keySet().iterator();
176
	 public Hashtable<String, String> getSupportedOperationsByName(){
177
		 Hashtable<String, String> operations = new Hashtable<String, String>();
178
		 Iterator<String> getIt = operationsGet.keySet().iterator();
176 179
		 while (getIt.hasNext()){
177 180
			 String id = (String)getIt.next();
178 181
			 WMTSOperation operation = (WMTSOperation)operationsGet.get(id);
......
227 230
        phone = new String();
228 231
        fax = new String();
229 232
        email = new String();
230
        formats = new Vector();        
233
        formats = new Vector<String>();        
231 234
    }      
232 235
    
233 236
	/* (non-Javadoc)

Also available in: Unified diff