changeset 655:a9f2e9c339c9

8061686: Size limits in BufferAllocator should have been final Reviewed-by: lancea, chegar
author joehw
date Tue, 21 Oct 2014 13:17:32 -0700
parents 480aa80c1cb7
children 48e4ec70cc1c
files src/java.xml/share/classes/com/sun/xml/internal/stream/util/BufferAllocator.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.xml/share/classes/com/sun/xml/internal/stream/util/BufferAllocator.java	Thu Oct 16 16:03:16 2014 -0700
+++ b/src/java.xml/share/classes/com/sun/xml/internal/stream/util/BufferAllocator.java	Tue Oct 21 13:17:32 2014 -0700
@@ -35,9 +35,9 @@
  * @author Santiago.PericasGeertsen@sun.com
  */
 public class BufferAllocator {
-    public static int SMALL_SIZE_LIMIT = 128;
-    public static int MEDIUM_SIZE_LIMIT = 2048;
-    public static int LARGE_SIZE_LIMIT = 8192;
+    private static final int SMALL_SIZE_LIMIT = 128;
+    private static final int MEDIUM_SIZE_LIMIT = 2048;
+    private static final int LARGE_SIZE_LIMIT = 8192;
 
     char[] smallCharBuffer;
     char[] mediumCharBuffer;