You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2009/08/04 21:51:24 UTC
svn commit: r800939 -
/mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java
Author: ngn
Date: Tue Aug 4 19:51:24 2009
New Revision: 800939
URL: http://svn.apache.org/viewvc?rev=800939&view=rev
Log:
Allow creating an EntityImpl with JID and name
Modified:
mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java
Modified: mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java
URL: http://svn.apache.org/viewvc/mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java?rev=800939&r1=800938&r2=800939&view=diff
==============================================================================
--- mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java (original)
+++ mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java Tue Aug 4 19:51:24 2009
@@ -38,9 +38,13 @@
this.name = name;
this.node = node;
}
+
+ public Item(Entity jid, String name) {
+ this(jid, name, null);
+ }
public Item(Entity jid) {
- this.jid = jid;
+ this(jid, null, null);
}
public Entity getJid() {