changeset 13114:caba60c122b6

8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected) Reviewed-by: thartmann
author sherman
date Mon, 23 Nov 2015 10:36:15 -0800
parents e36cbc6ac95b
children 25b577ea72d5
files src/java.base/share/classes/java/lang/StringBuffer.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/StringBuffer.java	Mon Nov 23 08:11:25 2015 -0800
+++ b/src/java.base/share/classes/java/lang/StringBuffer.java	Mon Nov 23 10:36:15 2015 -0800
@@ -730,7 +730,7 @@
         count = fields.get("count", 0);
     }
 
-    protected synchronized void getBytes(byte dst[], int dstBegin, byte coder) {
+    synchronized void getBytes(byte dst[], int dstBegin, byte coder) {
         super.getBytes(dst, dstBegin, coder);
     }
 }