diff options
author | Brian Duff <bduff@google.com> | 2015-01-07 18:02:01 -0800 |
---|---|---|
committer | Brian Duff <bduff@google.com> | 2015-04-28 12:14:54 -0700 |
commit | 9ffaa50d55bf377f4693eae45483e26ca136f878 (patch) | |
tree | 8b76e9b089d4aceecab9d9225e7966b10da28be9 /javanano/src | |
parent | 54511f701fae491ccffcfbe03760e8466741d6a6 (diff) | |
download | protobuf-9ffaa50d55bf377f4693eae45483e26ca136f878.tar.gz protobuf-9ffaa50d55bf377f4693eae45483e26ca136f878.tar.bz2 protobuf-9ffaa50d55bf377f4693eae45483e26ca136f878.zip |
Fix comments.
Forgot to update these in https://android-review.googlesource.com/#/c/109809/
Change-Id: I53f838e2f134f53964161d9620d5ead00c4a3939
Diffstat (limited to 'javanano/src')
-rw-r--r-- | javanano/src/main/java/com/google/protobuf/nano/Extension.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javanano/src/main/java/com/google/protobuf/nano/Extension.java b/javanano/src/main/java/com/google/protobuf/nano/Extension.java index 2d091f01..10634766 100644 --- a/javanano/src/main/java/com/google/protobuf/nano/Extension.java +++ b/javanano/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 = InternalNano.TYPE_SINT64; // 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; |