private static JsonSchemaVersion determineSchemaVersion(final SudoRetrieveThing command, final Thing thing) { return command.useOriginalSchemaVersion() ? thing.getImplementedSchemaVersion() : command.getImplementedSchemaVersion(); }
private static JsonSchemaVersion determineSchemaVersion(final SudoRetrieveThing command, final Thing thing) { return command.useOriginalSchemaVersion() ? thing.getImplementedSchemaVersion() : command.getImplementedSchemaVersion(); }