mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
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:
parent
d607324ecc
commit
0b0af4fd04
1 changed files with 3 additions and 3 deletions
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue