Skip to content
Permalink
Browse files

removed some warnings

  • Loading branch information...
Orbiter committed Sep 28, 2019
1 parent f2d45eb commit 25227676aea9423da62ffbcdc0f7d8ae6f03c911
Showing with 0 additions and 2 deletions.
  1. +0 −1 source/net/yacy/cora/protocol/Domains.java
  2. +0 −1 source/net/yacy/server/serverSwitch.java
@@ -1064,7 +1064,6 @@ public static int nameCacheNoCachingPatternsSize() {
* 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 serverSwitch(final File dataPath, final File appPath,
*
* @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, "");

0 comments on commit 2522767

Please sign in to comment.
You can’t perform that action at this time.