jdk/src/share/classes/java/lang/Readable.java
changeset 15647 314007859004
parent 7668 d4a77089c587
child 21307 d9d1ad598db1
--- a/jdk/src/share/classes/java/lang/Readable.java	Fri Feb 08 09:35:14 2013 -0800
+++ b/jdk/src/share/classes/java/lang/Readable.java	Fri Feb 08 16:00:23 2013 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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
@@ -34,7 +34,7 @@
  *
  * @since 1.5
  */
-
+@FunctionalInterface
 public interface Readable {
 
     /**
@@ -51,5 +51,4 @@
      * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer
      */
     public int read(java.nio.CharBuffer cb) throws IOException;
-
 }