The main method, executing the #identifyVM method. @param args Arguments, ignored.
(String[] args)
| 67 | * Arguments, ignored. |
| 68 | */ |
| 69 | public static void main(String[] args) { |
| 70 | String vmString = identifyVM(); |
| 71 | |
| 72 | if (vmString.isEmpty()) { |
| 73 | System.out.println("You do not appear to be on a Virtual Machine."); |
| 74 | } else { |
| 75 | System.out.println("You appear to be on a VM: " + vmString); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * The function attempts to identify which Virtual Machine (VM) based on common |
nothing calls this directly
no test coverage detected