Fixed code style in OScheduledEvent
@@ -194,14 +194,10 @@ public class OScheduledEvent extends ODocumentWrapper {
@Override
public void run() {
- orientDB.execute(
- database,
- user,
- db -> {
+ orientDB.execute(database, user, db -> {
runTask(db);
return null;
- }
- );
+ });
}
private void runTask(ODatabaseSession db) {
