(int value)
| 1199 | } |
| 1200 | |
| 1201 | private byte clampByte(int value) { |
| 1202 | if (value > Byte.MAX_VALUE) { |
| 1203 | return Byte.MAX_VALUE; |
| 1204 | } |
| 1205 | if (value < Byte.MIN_VALUE) { |
| 1206 | return Byte.MIN_VALUE; |
| 1207 | } |
| 1208 | return (byte) value; |
| 1209 | } |
| 1210 | } |
no outgoing calls
no test coverage detected