Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2250 - trunk/perfsonar/src/org/perfsonar/commons/messages

Subject: perfsonar development work

List archive

perfsonar: r2250 - trunk/perfsonar/src/org/perfsonar/commons/messages


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2250 - trunk/perfsonar/src/org/perfsonar/commons/messages
  • Date: Mon, 19 Mar 2007 06:04:56 -0400

Author: roman
Date: 2007-03-19 06:04:56 -0400 (Mon, 19 Mar 2007)
New Revision: 2250

Modified:
trunk/perfsonar/src/org/perfsonar/commons/messages/EchoRequest.java
Log:

Trimming eventType value in the request of EchoRequest type.




Modified: trunk/perfsonar/src/org/perfsonar/commons/messages/EchoRequest.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/commons/messages/EchoRequest.java
2007-03-19 03:42:02 UTC (rev 2249)
+++ trunk/perfsonar/src/org/perfsonar/commons/messages/EchoRequest.java
2007-03-19 10:04:56 UTC (rev 2250)
@@ -129,9 +129,9 @@

Message response = null;

- if (eventType.getEventType().equals(ECHO_NAMESPACE)) {
+ if (eventType.getEventType().trim().equals(ECHO_NAMESPACE)) {
response = executeSimpleEcho();
- } else if (eventType.getEventType().equals("")) {
+ } else if (eventType.getEventType().trim().equals("")) {
response = getEmptyEventTypeResponse();
} else {
response = serviceEngine.takeAction(getType(), request);



  • perfsonar: r2250 - trunk/perfsonar/src/org/perfsonar/commons/messages, svnlog, 03/19/2007

Archive powered by MHonArc 2.6.16.

Top of Page