浏览代码

Merge pull request #2362 from wujingchao/patch-1

Class is final but declares protected field
Adam Cozzette 9 年之前
父节点
当前提交
fc27ead107
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      javanano/src/main/java/com/google/protobuf/nano/InternalNano.java

+ 2 - 2
javanano/src/main/java/com/google/protobuf/nano/InternalNano.java

@@ -67,8 +67,8 @@ public final class InternalNano {
   public static final int TYPE_SINT32   = 17;
   public static final int TYPE_SINT32   = 17;
   public static final int TYPE_SINT64   = 18;
   public static final int TYPE_SINT64   = 18;
 
 
-  protected static final Charset UTF_8 = Charset.forName("UTF-8");
-  protected static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
+  static final Charset UTF_8 = Charset.forName("UTF-8");
+  static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
 
 
   private InternalNano() {}
   private InternalNano() {}