changeset 44230 | 6f46f350a21b |
parent 43148 | 9d11c46bd7bf |
child 45504 | ea7475564d07 |
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java Wed Mar 01 16:38:48 2017 -0800 +++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java Fri Mar 03 10:37:53 2017 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2017, 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 @@ -772,13 +772,6 @@ /** * Create new synthetic variable with given flags, name, type, owner */ - private VarSymbol makeSyntheticVar(long flags, String name, Type type, Symbol owner) { - return makeSyntheticVar(flags, names.fromString(name), type, owner); - } - - /** - * Create new synthetic variable with given flags, name, type, owner - */ private VarSymbol makeSyntheticVar(long flags, Name name, Type type, Symbol owner) { return new VarSymbol(flags | SYNTHETIC, name, type, owner); }