Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
5ce168db
Commit
5ce168db
authored
Feb 22, 2011
by
Guillaume Surrel
Browse files
Add toString method.
parent
276771ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
mom-amqp/org.ow2.joram.mom.amqp/src/main/java/org/ow2/joram/mom/amqp/QueueShell.java
View file @
5ce168db
/*
* 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)"
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment