mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 10:46:23 +00:00
Fix compile error with Java 1.6
This commit is contained in:
parent
f4ef1e59c7
commit
5047e20bf0
@ -57,7 +57,7 @@ public class MeshMBCommon {
|
||||
}
|
||||
|
||||
public static int alterSubscription(ServalDHttpConnectionFactory connector, Subscriber id, SubscriptionAction action, Subscriber peer, String name) throws ServalDInterfaceException, IOException {
|
||||
Vector<ServalDHttpConnectionFactory.QueryParam> parms = new Vector<>();
|
||||
Vector<ServalDHttpConnectionFactory.QueryParam> parms = new Vector<ServalDHttpConnectionFactory.QueryParam>();
|
||||
parms.add(new ServalDHttpConnectionFactory.QueryParam("sender", peer.sid.toHex()));
|
||||
if (name!=null && !"".equals(name))
|
||||
parms.add(new ServalDHttpConnectionFactory.QueryParam("name", name));
|
||||
|
Loading…
Reference in New Issue
Block a user