Thrift: getting rid of U32s for map/list/set/string lengths and field ids etc.
Summary: U32s are on the out. Make way for the I32.
Reviewed By: aditya
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664718 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/src/protocol/TSet.java b/lib/java/src/protocol/TSet.java
index e0dcf76..fa6e24d 100644
--- a/lib/java/src/protocol/TSet.java
+++ b/lib/java/src/protocol/TSet.java
@@ -11,14 +11,14 @@
public TSet() {}
public TSet(TType t, int s) {
- this(t, new UInt32(s));
+ this(t, new Int32(s));
}
- public TSet(TType t, UInt32 s) {
+ public TSet(TType t, Int32 s) {
elemType = t;
size = s;
}
public TType elemType = TType.STOP;
- public UInt32 size = new UInt32();
+ public Int32 size = new Int32();
}