Skip to content

Commit

Permalink
Simplify equations
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Jun 15, 2024
1 parent f4206ee commit e6c5018
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ private int findPrevMatch(BinaryIdContentPair oldPair,
protected byte[] fixClassAlias(byte[] bytes, int width) {
if (bytes.length != width) {
byte[] newAlias = new byte[width];
if (width - (width - bytes.length) >= 0)
System.arraycopy(bytes, width - bytes.length - bytes.length, newAlias, width - bytes.length, width - (width - bytes.length));
if (bytes.length >= 0)
System.arraycopy(bytes, width - 2 * bytes.length, newAlias, width - bytes.length, bytes.length);
return newAlias;
}
return bytes;
Expand Down

0 comments on commit e6c5018

Please sign in to comment.