solve merge error(about java packet name)

This commit is contained in:
free will committed 2021-03-05 11:55:00 +08:00
1 parent 84ae7d1443
commit 4877609b75
6 files changed
+18 -15

No files matched your search

+4 -3
View File
@@ -1,6 +1,7 @@
package encoding;
package main.java.encoding;
import util.ByteHelper;
import main.java.util.ByteHelper;
import java.math.BigInteger;
@@ -39,7 +40,7 @@ public class VlInt {
return SizeOfVarNumber(this.VlIntValue);
}
private static int SizeOfVarNumber(BigInteger bigInteger){
if(bigInteger.compareTo(BigInteger.valueOf(Long.parseLong("241"))) < 0){
if(bigInteger.compareTo(BigInteger.valueOf(241)) < 0){
return 1;
}else if(bigInteger.compareTo(BigInteger.valueOf(
new Double(pow(2, 16)).longValue())) < 0){