blob: 596c409e44a2517f8aaec536b9f2cd3802cc9e41 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2021 Gayan Perera and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Gayan Perera - initial API and implementation
*******************************************************************************/
package a.b.c;
import java.util.Map;
import java.util.Map.Entry;
import java.util.AbstractMap.SimpleEntry;
public class Bug570988 {
public static void main(String[] args) {
print(new SimpleEntry<String,Long>("Name", 12L));
}
private static void print(Entry<String, Long> entry) {
System.out.println(entry.toString());
}
}