Skip to content

Commit

Permalink
Removes the final modifier from SerialPort. This class only has a pri…
Browse files Browse the repository at this point in the history
…vate constructor which makes it effectively final. Also, removing the final modifier allows for easier mocking for unit testing.
  • Loading branch information
KC3SPW committed Jul 24, 2022
1 parent 87413a4 commit 6d6ad89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/fazecast/jSerialComm/SerialPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* @see java.io.OutputStream
*/
@SuppressWarnings("unused")
public final class SerialPort
public class SerialPort
{
// Parity Values
static final public int NO_PARITY = 0;
Expand Down

0 comments on commit 6d6ad89

Please sign in to comment.