From 245099702c33c8792c9d99ab25e594e41935db33 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 16 Oct 2012 08:35:08 -0700 Subject: Changed tabs to spaces. Removed MyClass.java. --- src/MyClass.java | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/MyClass.java (limited to 'src/MyClass.java') diff --git a/src/MyClass.java b/src/MyClass.java deleted file mode 100644 index 4fac53f..0000000 --- a/src/MyClass.java +++ /dev/null @@ -1,16 +0,0 @@ -import java.util.Enumeration; - -import gnu.io.CommPortIdentifier; - -public class MyClass { - public static void main(String... args) { - Enumeration ports = CommPortIdentifier.getPortIdentifiers(); - - while (ports.hasMoreElements()) { - CommPortIdentifier port = (CommPortIdentifier) ports.nextElement(); - - System.out.println(port.getName()); - } - } - -} \ No newline at end of file -- cgit v1.2.3