mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs]: fix typo
This commit is contained in:
@@ -45,7 +45,7 @@ public class BinaryEncoder {
|
||||
}
|
||||
|
||||
private static void checkLenIsValid(int len, @NotNull String errorMessage) throws BinaryPatchException {
|
||||
if (len < 0 && len > 52) {
|
||||
if (len < 0 || len > 52) {
|
||||
throw new BinaryPatchException(errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user