Whitespace fixes and removal of change to java's AbstractTester
This commit is contained in:
parent
9f2e6bfbd1
commit
30067d2f53
|
@ -92,8 +92,7 @@ public abstract class AbstractTester {
|
||||||
if (!args.useExternalClient()) {
|
if (!args.useExternalClient()) {
|
||||||
throw new IllegalArgumentException("Cannot enable callbacks on external thread without using external client");
|
throw new IllegalArgumentException("Cannot enable callbacks on external thread without using external client");
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Cannot enable callbacks on external thread in Java");
|
fdb.options().setCallbacksOnExternalThreads();
|
||||||
//fdb.options().setCallbacksOnExternalThreads();
|
|
||||||
}
|
}
|
||||||
if (args.useExternalClient()) {
|
if (args.useExternalClient()) {
|
||||||
fdb.options().setDisableLocalClient();
|
fdb.options().setDisableLocalClient();
|
||||||
|
|
|
@ -132,28 +132,28 @@ namespace vexillographer
|
||||||
{
|
{
|
||||||
var paramTypeStr = oDoc.AttributeOrNull("paramType");
|
var paramTypeStr = oDoc.AttributeOrNull("paramType");
|
||||||
ParamType p = paramTypeStr == null ? ParamType.None : (ParamType)Enum.Parse(typeof(ParamType), paramTypeStr);
|
ParamType p = paramTypeStr == null ? ParamType.None : (ParamType)Enum.Parse(typeof(ParamType), paramTypeStr);
|
||||||
bool hidden = oDoc.AttributeOrNull("hidden") == "true";
|
bool hidden = oDoc.AttributeOrNull("hidden") == "true";
|
||||||
string disableOn = oDoc.AttributeOrNull("disableOn");
|
string disableOn = oDoc.AttributeOrNull("disableOn");
|
||||||
bool disabled = false;
|
bool disabled = false;
|
||||||
if(disableOn != null)
|
if(disableOn != null)
|
||||||
{
|
{
|
||||||
string[] disabledBindings = disableOn.Split(',');
|
string[] disabledBindings = disableOn.Split(',');
|
||||||
disabled = disabledBindings.Contains(binding);
|
disabled = disabledBindings.Contains(binding);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!disabled)
|
if (!disabled)
|
||||||
{
|
{
|
||||||
list.Add(new Option
|
list.Add(new Option
|
||||||
{
|
{
|
||||||
scope = s,
|
scope = s,
|
||||||
name = oDoc.AttributeNonNull("name"),
|
name = oDoc.AttributeNonNull("name"),
|
||||||
code = int.Parse(oDoc.AttributeNonNull("code")),
|
code = int.Parse(oDoc.AttributeNonNull("code")),
|
||||||
paramType = p,
|
paramType = p,
|
||||||
paramDesc = oDoc.AttributeOrNull("paramDescription"),
|
paramDesc = oDoc.AttributeOrNull("paramDescription"),
|
||||||
comment = oDoc.AttributeOrNull("description"),
|
comment = oDoc.AttributeOrNull("description"),
|
||||||
hidden = hidden
|
hidden = hidden
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
options = list;
|
options = list;
|
||||||
|
|
Loading…
Reference in New Issue