perfsonar-dev - perfsonar: r5276 - branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization
Subject: perfsonar development work
List archive
perfsonar: r5276 - branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization
Chronological Thread
- From:
- To:
- Subject: perfsonar: r5276 - branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization
- Date: Thu, 3 Sep 2009 10:10:15 -0400
Author: trzaszcz
Date: 2009-09-03 10:10:14 -0400 (Thu, 03 Sep 2009)
New Revision: 5276
Modified:
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization/LSSummarySynchronizationAction.java
Log:
code cleanup
Modified:
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization/LSSummarySynchronizationAction.java
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization/LSSummarySynchronizationAction.java
2009-09-03 14:07:16 UTC (rev 5275)
+++
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization/LSSummarySynchronizationAction.java
2009-09-03 14:10:14 UTC (rev 5276)
@@ -1,19 +1,12 @@
package org.perfsonar.service.lookupservice.summarization;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.OutputStream;
import java.util.List;
import java.util.logging.Logger;
-import javax.xml.stream.XMLStreamException;
-
import org.perfsonar.base2.service.configuration.Action;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.scheduler.SchedulerAction;
import org.perfsonar.base2.xml.Element;
-import org.perfsonar.base2.xml.ElementSerializer;
import org.perfsonar.service.lookupservice.dao.ISummarizationDAO;
import org.perfsonar.service.lookupservice.storage.LookupServiceDAO;
import org.perfsonar.service.lookupservice.storage.LookupServiceDAOFactory;
@@ -94,23 +87,6 @@
private void synchronizeSummarizationCollection(List<Element> datas)
throws PerfSONARException{
summarizationDao.removeSummaryData();
datas=builder.build();
-
- ElementSerializer es=new ElementSerializer();
- File file=new File("/home/czacha/Desktop/glsRequest.txt");
-
-
System.out.println("--------------------------------------------");
- for(Element element : datas){
- summarizationDao.putSummaryData(element);
- try {
- es.write(System.out,element);
- } catch (XMLStreamException e) {
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-
System.out.println("--------------------------------------------");
}
- perfsonar: r5276 - branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/summarization, svnlog, 09/03/2009
Archive powered by MHonArc 2.6.16.