6882207: Convert javap to use diamond operator internally

Reviewed-by: jjg
This commit is contained in:
Andrey Turbanov 2020-12-09 19:20:13 +00:00 committed by Jonathan Gibbons
parent d33a689b96
commit 30de320c01
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -128,7 +128,7 @@ public class CodeWriter extends BasicWriter {
}
// where
Instruction.KindVisitor<Void,Integer> instructionPrinter =
new Instruction.KindVisitor<Void,Integer>() {
new Instruction.KindVisitor<>() {
public Void visitNoOperands(Instruction instr, Integer indent) {
return null;