Changeset 8870 for trunk/gsdl3
- Timestamp:
- 2004-12-21T15:39:56+13:00 (19 years ago)
- Location:
- trunk/gsdl3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/extensions/gsdl-as/src/org/greenstone/gsdlas/AlertingService.java
r8867 r8870 80 80 } 81 81 82 // TODO stop this, we need multi-valued stuff83 82 args = normalise(args); 84 83 … … 254 253 event.put(key, value[0]); 255 254 } 255 System.out.println("receiving event " + event); 256 256 257 257 GreenstoneCommunicator gsComm = null; 258 258 try { 259 gsComm = new GreenstoneCommunicator(new URL((String) event.get("hostID"))); 259 String hostID = (String) event.get("hostID"); 260 gsComm = new GreenstoneCommunicator(new URL(hostID)); 260 261 } catch (MalformedURLException e) { 261 262 // TODO Auto-generated catch block -
trunk/gsdl3/packages/gsdl-as/src/org/greenstone/gsdlas/AlertingService.java
r8867 r8870 80 80 } 81 81 82 // TODO stop this, we need multi-valued stuff83 82 args = normalise(args); 84 83 … … 254 253 event.put(key, value[0]); 255 254 } 255 System.out.println("receiving event " + event); 256 256 257 257 GreenstoneCommunicator gsComm = null; 258 258 try { 259 gsComm = new GreenstoneCommunicator(new URL((String) event.get("hostID"))); 259 String hostID = (String) event.get("hostID"); 260 gsComm = new GreenstoneCommunicator(new URL(hostID)); 260 261 } catch (MalformedURLException e) { 261 262 // TODO Auto-generated catch block
Note:
See TracChangeset
for help on using the changeset viewer.