Fix: missing JavaDoc comments and parameter tags
This commit is contained in:
@@ -170,6 +170,17 @@ public class ClientLauncherTUI {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lets the user choose one of the available active IPv4 network interfaces.
|
||||
*
|
||||
* <p>The method lists all active, non-loopback and non-virtual network
|
||||
* interfaces with an IPv4 address. If only one interface is available, it is
|
||||
* selected automatically.
|
||||
*
|
||||
* @param scanner the scanner used to read the user's choice.
|
||||
* @return the selected IPv4 address as a string.
|
||||
* @throws Exception if no valid network interface is available.
|
||||
*/
|
||||
public static String chooseNetworkInterface(Scanner scanner) throws Exception {
|
||||
List<String> ips = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user