Remove commented out lines

This commit is contained in:
gohai
2013-10-01 21:27:27 -07:00
parent 665a46969d
commit ba4f204c25
@@ -186,8 +186,6 @@ public class Serial implements SerialPortEventListener {
public static Map<String, String> getProperties(String portName) {
//SerialPortList list = new SerialPortList();
//return list.getPortProperties(portName);
return SerialPortList.getPortProperties(portName);
}
@@ -214,8 +212,6 @@ public class Serial implements SerialPortEventListener {
public static String[] list() {
// returns list sorted alphabetically, thus cu.* comes before tty.*
// this was different with RXTX
//SerialPortList list = new SerialPortList();
//return list.getPortNames();
return SerialPortList.getPortNames();
}
@@ -457,4 +453,4 @@ public class Serial implements SerialPortEventListener {
throw new RuntimeException("Error writing to serial port " + e.getPortName() + ": " + e.getExceptionType());
}
}
}
}