8022657: Add FunctionalInterface annotation to awt interfaces
Reviewed-by: anthony, art
--- a/jdk/src/share/classes/java/awt/KeyEventDispatcher.java Wed Oct 16 19:02:10 2013 +0400
+++ b/jdk/src/share/classes/java/awt/KeyEventDispatcher.java Thu Oct 17 20:54:33 2013 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2013, 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
@@ -51,6 +51,7 @@
* @see KeyboardFocusManager#removeKeyEventDispatcher
* @since 1.4
*/
+@FunctionalInterface
public interface KeyEventDispatcher {
/**
--- a/jdk/src/share/classes/java/awt/KeyEventPostProcessor.java Wed Oct 16 19:02:10 2013 +0400
+++ b/jdk/src/share/classes/java/awt/KeyEventPostProcessor.java Thu Oct 17 20:54:33 2013 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2013, 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
@@ -54,6 +54,7 @@
* @see KeyboardFocusManager#removeKeyEventPostProcessor
* @since 1.4
*/
+@FunctionalInterface
public interface KeyEventPostProcessor {
/**