Skip to Content.
Sympa Menu

perfsonar-dev - r2097 - branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType

Subject: perfsonar development work

List archive

r2097 - branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType


Chronological Thread 
  • From:
  • To:
  • Subject: r2097 - branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType
  • Date: Wed, 21 Feb 2007 05:40:10 -0500

Author: mac
Date: 2007-02-21 05:40:09 -0500 (Wed, 21 Feb 2007)
New Revision: 2097

Modified:

branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
Log:
"no datum bug" bug fixed but commented because it's undefined behaviour that
needs discussion

Modified:
branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
===================================================================
---
branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
2007-02-21 10:38:46 UTC (rev 2096)
+++
branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType/LSLookupAction.java
2007-02-21 10:40:09 UTC (rev 2097)
@@ -153,8 +153,6 @@
logger.debug("XmlTypeLSServiceEngine: Got [["+
results.length+"]] results from DB");

- //TODO: if results.length==0 --> return error code or not?
-
//create ServiceEngineResponse and put there the results
Message response = new Message();

@@ -185,6 +183,16 @@
responseData.setDatum(datum);

}
+
+// TODO: what to do with it?
+// if no results are returned create empty datum
+// if (results.length==0) {
+// org.ggf.ns.nmwg.tools.org.perfsonar.service.v1_0.Datum datum =
+// new
org.ggf.ns.nmwg.tools.org.perfsonar.service.v1_0.Datum();
+//
+// datum.setValue("");
+// responseData.setDatum(datum);
+// }

//Encapsulate Data in Response Message
response.addChild(responseData);



  • r2097 - branches/XML-LS-RELEASE-1.1/src/org/perfsonar/service/lookupService/xmlType, svnlog, 02/21/2007

Archive powered by MHonArc 2.6.16.

Top of Page