[vcs]: fix typo

This commit is contained in:
Nadya Zabrodina
2017-03-09 14:43:41 +03:00
parent 353099bab6
commit d5ffdaa283
@@ -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);
}
}