summaryrefslogtreecommitdiff
path: root/src/MyClass.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2012-10-16 08:35:08 -0700
committerJesse Morgan <jesse@jesterpm.net>2012-10-16 08:35:08 -0700
commit245099702c33c8792c9d99ab25e594e41935db33 (patch)
treee7ec7b4dd04c98f5ceb01839b8fc73724ac9cc77 /src/MyClass.java
parent446a26f85474596be21b88dea42778ab25022d67 (diff)
Changed tabs to spaces. Removed MyClass.java.
Diffstat (limited to 'src/MyClass.java')
-rw-r--r--src/MyClass.java16
1 files changed, 0 insertions, 16 deletions
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