This commit is contained in:
zzz
2016-10-21 15:20:35 +00:00
parent 9b27251473
commit cee3ebbb23
22 changed files with 48 additions and 48 deletions

View File

@@ -661,7 +661,7 @@ public class DataHelper {
}
if (rv < 0)
throw new DataFormatException("wtf, fromLong got a negative? " + rv + " numBytes=" + numBytes);
throw new DataFormatException("fromLong got a negative? " + rv + " numBytes=" + numBytes);
return rv;
}
@@ -753,7 +753,7 @@ public class DataHelper {
rv |= src[i] & 0xFF;
}
if (rv < 0)
throw new IllegalArgumentException("wtf, fromLong got a negative? " + rv + ": offset="+ offset +" numBytes="+numBytes);
throw new IllegalArgumentException("fromLong got a negative? " + rv + ": offset="+ offset +" numBytes="+numBytes);
return rv;
}
@@ -774,7 +774,7 @@ public class DataHelper {
rv |= src[i] & 0xFF;
}
if (rv < 0)
throw new IllegalArgumentException("wtf, fromLong got a negative? " + rv + ": offset="+ offset +" numBytes="+numBytes);
throw new IllegalArgumentException("fromLong got a negative? " + rv + ": offset="+ offset +" numBytes="+numBytes);
return rv;
}

View File

@@ -155,7 +155,7 @@ public class SessionConfig extends DataStructureImpl {
}
byte data[] = getBytes();
if (data == null) {
//if (_log.shouldLog(Log.WARN)) _log.warn("Bytes could not be found - wtf?");
//if (_log.shouldLog(Log.WARN)) _log.warn("Bytes could not be found");
return false;
}