blob: 5c553bcba0bfaa62bedd02cba776e5f38e22f984 (
plain)
1
2
3
4
5
6
7
|
class Test {
public static void testFunc(final float width, final float height) {
if (width < 0f || height < 0f) {
throw new IllegalArgumentException("Size must be non-negative");
}
}
}
|