1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/java/avis/files/patch-server-src-main-org-avis-federation-Link.java
Vanilla I. Shu 3ebbb6fe4e Add avis 1.2.0, elvin Publish/Subscribe Message Bus server based on the
Elvin protocol.

PR:		ports/120111
Submitted by:	Benjamin Close <benjsc at FreeBSD.org>
2008-01-29 14:43:28 +00:00

18 lines
433 B
Java

--- server/src/main/org/avis/federation/Link.java-orig 2008-01-21 18:05:26.000000000 +1030
+++ server/src/main/org/avis/federation/Link.java 2008-01-29 17:16:37.334636622 +1030
@@ -302,7 +285,7 @@
private void handleAck (Ack ack)
{
- if (ack.request instanceof FedSubReplace)
+ if (ack.request.getClass () == FedSubReplace.class)
subscribed = true;
}
@@ -409,3 +392,5 @@
return newRouting;
}
}
+
+