Polish diamond operator usage
This commit is contained in:
committed by
Josh Cummings
parent
f3e95c8175
commit
31f8caec5f
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user