Skip to content

Commit 5671f83

Browse files
committedAug 24, 2024
8338785: The java.awt.datatransfer.SystemFlavorMap#FLAVOR_MAP_KEY field is not used
Reviewed-by: honkar, dnguyen, prr
1 parent 32b3d70 commit 5671f83

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/java.datatransfer/share/classes/java/awt/datatransfer/SystemFlavorMap.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -61,8 +61,6 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable {
6161
*/
6262
private static String JavaMIME = "JAVA_DATAFLAVOR:";
6363

64-
private static final Object FLAVOR_MAP_KEY = new Object();
65-
6664
/**
6765
* The list of valid, decoded text flavor representation classes, in order
6866
* from best to worst.

0 commit comments

Comments
 (0)