Use diamond operators
See gh-33987
This commit is contained in:
committed by
Phillip Webb
parent
5120242996
commit
6e46423983
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2023 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.
|
||||
@@ -113,7 +113,7 @@ public class NamedPipeSocket extends Socket {
|
||||
|
||||
@Override
|
||||
public <A> void read(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) {
|
||||
this.fileChannel.read(dst, 0, attachment, new CompletionHandler<Integer, A>() {
|
||||
this.fileChannel.read(dst, 0, attachment, new CompletionHandler<>() {
|
||||
|
||||
@Override
|
||||
public void completed(Integer read, A attachment) {
|
||||
|
||||
Reference in New Issue
Block a user