Commit 77af363f authored by Robin Collier's avatar Robin Collier Committed by rcollier

OF-572 Changed code to address problem in the parser of thoughtworks javadoc builder.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13444 b35dd754-fafc-0310-a699-88a17e54d16e
parent 01aad89b
......@@ -2279,23 +2279,8 @@ public abstract class Node {
}
}
/**
* Policy that defines whether owners or publisher should receive replies to items.
*/
public static enum ItemReplyPolicy {
/**
* Statically specify a replyto of the node owner(s).
*/
owner,
/**
* Dynamically specify a replyto of the item publisher.
*/
publisher
}
public int hashCode()
{
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + nodeID.hashCode();
......@@ -2303,6 +2288,7 @@ public abstract class Node {
return result;
}
@Override
public boolean equals(Object obj) {
if (obj == this)
return true;
......@@ -2314,4 +2300,19 @@ public abstract class Node {
return (service.getServiceID().equals(compareNode.service.getServiceID()) && nodeID.equals(compareNode.nodeID));
}
/**
* Policy that defines whether owners or publisher should receive replies to items.
*/
public static enum ItemReplyPolicy {
/**
* Statically specify a replyto of the node owner(s).
*/
owner,
/**
* Dynamically specify a replyto of the item publisher.
*/
publisher
};
}
Markdown is supported
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