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/TField.java b/lib/java/src/protocol/TField.java
index 83f1fc3..d758c68 100644
--- a/lib/java/src/protocol/TField.java
+++ b/lib/java/src/protocol/TField.java
@@ -11,10 +11,10 @@
public TField() {}
public TField(String n, TType t, int i) {
- this(n, t, new UInt32(i));
+ this(n, t, new Int32(i));
}
- public TField(String n, TType t, UInt32 i) {
+ public TField(String n, TType t, Int32 i) {
name = n;
type = t;
id = i;
@@ -22,5 +22,5 @@
public String name = "";
public TType type = TType.STOP;
- public UInt32 id = new UInt32();
+ public Int32 id = new Int32();
}