mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 19:14:52 +00:00
Add a @SuppressWarnings.
This commit is contained in:
parent
8218578b74
commit
261a5797bd
@ -48,6 +48,7 @@ public class DurationUtils {
|
||||
* @param duration The duration to pick apart.
|
||||
* @throws T See the function signature.
|
||||
*/
|
||||
@SuppressWarnings("boxing") // boxing unavoidable
|
||||
public static <T extends Throwable> void accept(final FailableBiConsumer<Long, Integer, T> consumer, final Duration duration)
|
||||
throws T {
|
||||
if (consumer != null && duration != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user