Commit 5ce168db authored by Guillaume Surrel's avatar Guillaume Surrel
Browse files

Add toString method.

parent 276771ad
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2009 ScalAgent Distributed Technologies
* Copyright (C) 2009 - 2011 ScalAgent Distributed Technologies
* Copyright (C) 2009 CNES
*
* This library is free software; you can redistribute it and/or
......@@ -73,4 +73,11 @@ public class QueueShell {
return queueName.hashCode();
}
public String toString() {
if (islocal()) {
return queue.getName() + "(local)";
}
return queueName + "(distant)";
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment