1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Polish diamond operator usage

This commit is contained in:
Tran Ngoc Nhan
2024-10-11 21:44:08 +07:00
committed by Josh Cummings
parent f3e95c8175
commit 31f8caec5f
24 changed files with 42 additions and 44 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ public interface MessageMatcher<T> {
/**
* Matches every {@link Message}
*/
MessageMatcher<Object> ANY_MESSAGE = new MessageMatcher<Object>() {
MessageMatcher<Object> ANY_MESSAGE = new MessageMatcher<>() {
@Override
public boolean matches(Message<?> message) {