Update version to 2.6.1

This commit is contained in:
hedgecrw85 2020-02-20 12:04:08 -06:00
parent 79b29397c0
commit 4e7e2711ff
12 changed files with 15 additions and 18 deletions

View File

@ -12,7 +12,7 @@ plugins {
group = 'com.fazecast'
archivesBaseName = 'jSerialComm'
version = '2.6.0'
version = '2.6.1'
ext.moduleName = 'com.fazecast.jSerialComm'
assert hasProperty('java6Home'): "Set the property 'java6Home' in your gradle.properties file pointing to a Java 6 JDK installation"

View File

@ -2,7 +2,7 @@
* SerialPort.java
*
* Created on: Feb 25, 2012
* Last Updated on: Feb 19, 2020
* Last Updated on: Feb 20, 2020
* Author: Will Hedgecock
*
* Copyright (C) 2012-2020 Fazecast, Inc.
@ -43,14 +43,14 @@ import java.util.Date;
* This class provides native access to serial ports and devices without requiring external libraries or tools.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see java.io.InputStream
* @see java.io.OutputStream
*/
public final class SerialPort
{
// Static initializer loads correct native library for this machine
private static final String versionString = "2.6.0";
private static final String versionString = "2.6.1";
private static volatile boolean isAndroid = false;
private static volatile boolean isUnixBased = false;
private static volatile boolean isWindows = false;
@ -774,9 +774,6 @@ public final class SerialPort
public final synchronized void removeDataListener()
{
eventFlags = 0;
if (portHandle > 0)
configEventFlags(portHandle);
if (serialEventListener != null)
{
serialEventListener.stopListening();

View File

@ -31,7 +31,7 @@ import java.util.EventListener;
* This interface must be implemented to enable simple event-based serial port I/O.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see java.util.EventListener
*/
public interface SerialPortDataListener extends EventListener

View File

@ -29,7 +29,7 @@ package com.fazecast.jSerialComm;
* This interface must be implemented to enable simple event-based serial port I/O with a custom Exception callback.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see com.fazecast.jSerialComm.SerialPortDataListener
* @see java.util.EventListener
*/

View File

@ -31,7 +31,7 @@ import java.util.EventObject;
* This class describes an asynchronous serial port event.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see java.util.EventObject
*/
public final class SerialPortEvent extends EventObject

View File

@ -31,7 +31,7 @@ import java.io.IOException;
* This class describes a serial port IO exception.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see java.io.IOException
*/
public final class SerialPortIOException extends IOException

View File

@ -29,7 +29,7 @@ package com.fazecast.jSerialComm;
* This class describes a serial port invalid port exception.
*
* @author Will Hedgecock <will.hedgecock@fazecast.com>
* @version 2.6.0
* @version 2.6.1
* @see java.lang.RuntimeException
*/
public final class SerialPortInvalidPortException extends RuntimeException

View File

@ -31,7 +31,7 @@ package com.fazecast.jSerialComm;
* <i>Note</i>: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.
*
* @author Will Hedgecock &lt;will.hedgecock@fazecast.com&gt;
* @version 2.6.0
* @version 2.6.1
* @see com.fazecast.jSerialComm.SerialPortDataListener
* @see java.util.EventListener
*/

View File

@ -31,7 +31,7 @@ package com.fazecast.jSerialComm;
* <i>Note</i>: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.
*
* @author Will Hedgecock &lt;will.hedgecock@fazecast.com&gt;
* @version 2.6.0
* @version 2.6.1
* @see com.fazecast.jSerialComm.SerialPortMessageListener
* @see com.fazecast.jSerialComm.SerialPortDataListener
* @see java.util.EventListener

View File

@ -31,7 +31,7 @@ package com.fazecast.jSerialComm;
* <i>Note</i>: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.
*
* @author Will Hedgecock &lt;will.hedgecock@fazecast.com&gt;
* @version 2.6.0
* @version 2.6.1
* @see com.fazecast.jSerialComm.SerialPortDataListener
* @see java.util.EventListener
*/

View File

@ -31,7 +31,7 @@ import java.io.InterruptedIOException;
* This class describes a serial port timeout exception.
*
* @author Will Hedgecock &lt;will.hedgecock@fazecast.com&gt;
* @version 2.6.0
* @version 2.6.1
* @see java.io.InterruptedIOException
*/
public final class SerialPortTimeoutException extends InterruptedIOException

View File

@ -2,7 +2,7 @@
* SerialPortTest.java
*
* Created on: Feb 27, 2015
* Last Updated on: Jan 03, 2020
* Last Updated on: Feb 20, 2020
* Author: Will Hedgecock
*
* Copyright (C) 2012-2020 Fazecast, Inc.
@ -32,7 +32,7 @@ import java.util.Scanner;
* This class provides a test case for the jSerialComm library.
*
* @author Will Hedgecock &lt;will.hedgecock@gmail.com&gt;
* @version 2.6.0
* @version 2.6.1
* @see java.io.InputStream
* @see java.io.OutputStream
*/