removed some warnings

pull/325/head
Michael Christen 5 years ago
parent f2d45ebb87
commit 25227676ae

@ -1064,7 +1064,6 @@ public class Domains {
* Please use myPublicIPv4() or (preferred) myPublicIPv6() instead.
* @return
*/
@Deprecated
public static InetAddress myPublicLocalIP() {
// for backward compatibility, we try to select a IPv4 address here.
// future methods should use myPublicIPs() and prefer IPv6

@ -154,7 +154,6 @@ public class serverSwitch {
*
* @return the public IP of this peer, if known
*/
@Deprecated
public String myPublicIP() {
// if a static IP was configured, we have to return it here ...
final String staticIP = getConfig(SwitchboardConstants.SERVER_STATICIP, "");

Loading…
Cancel
Save