www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,10 @@
|
|||
package org.jcodec.common;
|
||||
|
||||
public class Ints {
|
||||
public static int checkedCast(long value) {
|
||||
int result = (int)value;
|
||||
if ((long)result != value)
|
||||
throw new IllegalArgumentException("Out of range: " + value);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue