Annotate getAddress() as NonNull

This commit is contained in:
Adeel Zafar 2019-08-15 16:42:34 +05:00
parent 0003992907
commit ea87495ffc

View File

@ -111,7 +111,7 @@ public class WebServerHelper {
return ip; return ip;
} }
@Nullable public static String getAddress() { @NonNull public static String getAddress() {
return "http://" + getIpAddress() + ":" + port; return "http://" + getIpAddress() + ":" + port;
} }
} }