Use Math.min and Math.max method instead of manual calculations. 104/head
authorArturo Bernal <arturobernalg@gmail.com>
Fri, 15 Apr 2022 16:27:28 +0000 (18:27 +0200)
committerArturo Bernal <arturobernalg@gmail.com>
Fri, 15 Apr 2022 16:27:28 +0000 (18:27 +0200)
commitca114bc5126da299b845641d287c141bab0df1a3
treefa07ce8c70cf9eddf2fd8425f53435a0243c509a
parent864dea95b3627da1936455319b044f791165cdb3
Use Math.min and Math.max method instead of manual calculations.
src/main/java/org/apache/commons/net/io/FromNetASCIIInputStream.java
src/main/java/org/apache/commons/net/tftp/TFTPClient.java
src/main/java/org/apache/commons/net/tftp/TFTPDataPacket.java