diff rep/xml/SessionXMLDecoder.java @ 358:034acadc0cdc

*** empty log message ***
author kono
date Sun, 19 Oct 2008 16:54:37 +0900
parents 86935b872385
children fa041bae35f1
line wrap: on
line diff
--- a/rep/xml/SessionXMLDecoder.java	Sat Oct 18 21:28:17 2008 +0900
+++ b/rep/xml/SessionXMLDecoder.java	Sun Oct 19 16:54:37 2008 +0900
@@ -44,22 +44,22 @@
 
 		//sessionlist = createSessionList(root);
 		sessionlist = generateSessionList(root);
-		sessionlist.setMaxHost(getSessionManagerHost(root));
+		//sessionlist.setMaxHost(getSessionManagerHost(root));
 
 
 		return sessionlist;
 	}
 
-	private String getSessionManagerHost(Element root) {
-		NodeList nodelist = root.getChildNodes();
-		String host = null;
-		for(int i = 0; i < nodelist.getLength(); i++){
-			if(nodelist.item(i).getNodeName().equals("host")){
-				host = nodelist.item(i).getTextContent();
-			}
-		}
-		return host;
-	}
+//	private String getSessionManagerHost(Element root) {
+//		NodeList nodelist = root.getChildNodes();
+//		String host = null;
+//		for(int i = 0; i < nodelist.getLength(); i++){
+//			if(nodelist.item(i).getNodeName().equals("host")){
+//				host = nodelist.item(i).getTextContent();
+//			}
+//		}
+//		return host;
+//	}
 	
 	private SessionList generateSessionList(Element element){
 		SessionList sessionlist = new SessionList();