changeset 29974:9dea25b5ffba

8048264: StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException Summary: Add missing @throws tags Reviewed-by: dholmes, lancea
author bchristi
date Fri, 17 Apr 2015 12:49:51 -0700
parents 188affdeeed2
children 38fe3dec1406
files jdk/src/java.base/share/classes/java/lang/StringBuffer.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/lang/StringBuffer.java	Fri Apr 17 11:51:47 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/StringBuffer.java	Fri Apr 17 12:49:51 2015 -0700
@@ -206,6 +206,7 @@
     }
 
     /**
+     * @throws IndexOutOfBoundsException {@inheritDoc}
      * @since      1.5
      */
     @Override
@@ -214,6 +215,7 @@
     }
 
     /**
+     * @throws IndexOutOfBoundsException {@inheritDoc}
      * @since     1.5
      */
     @Override
@@ -222,6 +224,7 @@
     }
 
     /**
+     * @throws IndexOutOfBoundsException {@inheritDoc}
      * @since     1.5
      */
     @Override
@@ -230,6 +233,7 @@
     }
 
     /**
+     * @throws IndexOutOfBoundsException {@inheritDoc}
      * @since     1.5
      */
     @Override