Rename 'schema_rev' => 'scid'

For convenience, the documentation and code for EventLogging refer
to (schema_name, revision_ID) pairs as 'SCIDs'. It'd be nice (but
not required) if android-commons stuck to this convention, too.
This commit is contained in:
Ori Livneh 2013-02-18 01:41:00 -08:00
parent d607324ecc
commit 0b0af4fd04

View file

@ -89,10 +89,10 @@ public class EventLog {
return new LogBuilder(schema, revision); return new LogBuilder(schema, revision);
} }
public static LogBuilder schema(Object[] schema_rev) { public static LogBuilder schema(Object[] scid) {
if(schema_rev.length != 2) { if(scid.length != 2) {
throw new IllegalArgumentException("Needs an object array with schema as first param and revision as second"); throw new IllegalArgumentException("Needs an object array with schema as first param and revision as second");
} }
return schema((String)schema_rev[0], (Long)schema_rev[1]); return schema((String)scid[0], (Long)scid[1]);
} }
} }