Unify the way objects of a given type are created in the models

Reviewed By: sblackshear

Differential Revision: D3351930

fbshipit-source-id: 9418a2a
master
Jeremy Dubreil 9 years ago committed by Facebook Github Bot 6
parent a756b7bff2
commit 0a2c47cdd5

@ -30,7 +30,7 @@ public class ContentProviderClient {
ContentResolver contentResolver, IContentProvider contentProvider, boolean stable) {
mContentResolver = contentResolver;
mContentProvider = contentProvider;
mPackageName = InferUndefined.string_undefined();
mPackageName = (String)InferUndefined.object_undefined();
mStable = stable;
}

@ -132,7 +132,7 @@ public final class UTF8StreamJsonParser
public String getText()
throws IOException, JsonParseException {
throwExceptions();
return InferUndefined.string_undefined();
return (String)InferUndefined.object_undefined();
}
@Override

@ -15,7 +15,7 @@ public class Object {
public Class getClass() {
Class c = new Class();
c.name = InferUndefined.string_undefined();
c.name = (String)InferUndefined.object_undefined();
return c;
}

@ -45,7 +45,7 @@ public final class System {
if (InferUndefined.boolean_undefined()) {
return null;
}
return InferUndefined.string_undefined();
return (String)InferUndefined.object_undefined();
}
}

Loading…
Cancel
Save