diff options
author | Brian Duff <bduff@google.com> | 2015-01-08 06:53:50 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-08 06:53:50 +0000 |
commit | d7966e27317cdfee6f532370728bd824ab6b6827 (patch) | |
tree | 8b681ba8a3437d9a98e5a2ab9c6a5107ee2c2bba | |
parent | ee425c88d49972cffb27b5f9d8351e805c1c9cca (diff) | |
parent | 3bd72e5064459b54719b5ad95584f1fe1d299b8f (diff) | |
download | external_protobuf-d7966e27317cdfee6f532370728bd824ab6b6827.zip external_protobuf-d7966e27317cdfee6f532370728bd824ab6b6827.tar.gz external_protobuf-d7966e27317cdfee6f532370728bd824ab6b6827.tar.bz2 |
am 3bd72e50: Merge "Fix comments."
* commit '3bd72e5064459b54719b5ad95584f1fe1d299b8f':
Fix comments.
-rw-r--r-- | java/src/main/java/com/google/protobuf/nano/Extension.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/main/java/com/google/protobuf/nano/Extension.java b/java/src/main/java/com/google/protobuf/nano/Extension.java index 728f0dc..b4d3eb0 100644 --- a/java/src/main/java/com/google/protobuf/nano/Extension.java +++ b/java/src/main/java/com/google/protobuf/nano/Extension.java @@ -75,7 +75,7 @@ public class Extension<M extends ExtendableMessageNano<M>, T> { public static final int TYPE_SINT64 = 18; // Note: these create...() methods take a long for the tag parameter, - // because tags are represented as unsigned longs, and these values exist + // because tags are represented as unsigned ints, and these values exist // in generated code as long values. However, they can fit in 32-bits, so // it's safe to cast them to int without loss of precision. @@ -142,7 +142,7 @@ public class Extension<M extends ExtendableMessageNano<M>, T> { protected final Class<T> clazz; /** - * Tag number of this extension. + * Tag number of this extension. The data should be viewed as an unsigned 32-bit value. */ public final int tag; |