diff --git a/build.gradle b/build.gradle index 012260d..2a7a026 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,7 @@ assert hasProperty('java9Home'): "Set the property 'java9Home' in your gradle.pr sourceCompatibility = 1.6 targetCompatibility = 1.6 javadoc.options.links("http://docs.oracle.com/javase/8/docs/api/") +javadoc.options.addBooleanOption('html4', true) def java6ExecutablesPath = new File(java6Home, 'bin') def java9ExecutablesPath = new File(java9Home, 'bin') diff --git a/src/main/java/com/fazecast/jSerialComm/SerialPort.java b/src/main/java/com/fazecast/jSerialComm/SerialPort.java index 92c6787..c3b99d4 100644 --- a/src/main/java/com/fazecast/jSerialComm/SerialPort.java +++ b/src/main/java/com/fazecast/jSerialComm/SerialPort.java @@ -605,11 +605,13 @@ public final class SerialPort public final boolean clearDTR() { return clearDTR(portHandle); } /** + * Returns whether the CTS line is currently asserted. * @return Whether or not the CTS line is asserted. */ public final boolean getCTS() { return getCTS(portHandle); } /** + * Returns whether the DSR line is currently asserted. * @return Whether or not the DSR line is asserted. */ public final boolean getDSR() { return getDSR(portHandle); }