Split those up because I'm doing evil things in yohoho & need to override
part of it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5787 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -309,8 +309,12 @@ public class DatabaseConfigRegistry extends ConfigRegistry
|
|||||||
setAndFlush(field, StringUtil.joinEscaped(value));
|
setAndFlush(field, StringUtil.joinEscaped(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void setAndFlush (final String field, final String value) {
|
protected void setAndFlush (String field, String value) {
|
||||||
_data.put(field, value);
|
_data.put(field, value);
|
||||||
|
flush(field, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void flush (final String field, final String value) {
|
||||||
String iname = "updateConfig(" + _path + ", " + field + ", value=" + value + ")";
|
String iname = "updateConfig(" + _path + ", " + field + ", value=" + value + ")";
|
||||||
_invoker.postUnit(new WriteOnlyUnit(iname) {
|
_invoker.postUnit(new WriteOnlyUnit(iname) {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user