Fix compile issues

This commit is contained in:
Rsl1122 2017-08-24 11:59:51 +03:00
parent b1bee36f2c
commit 4a12f6e113
2 changed files with 6 additions and 9 deletions

View File

@ -4,11 +4,8 @@
*/
package main.java.com.djrapitops.plan.systems.processing;
import main.java.com.djrapitops.plan.Log;
import main.java.com.djrapitops.plan.database.Database;
import java.sql.SQLException;
/**
* Processor for queueing a Database Commit after changes.
*
@ -22,10 +19,10 @@ public class DBCommitProcessor extends Processor<Database> {
@Override
public void process() {
// TODO Prevent Commit during batch operations.
try {
object.commit();
} catch (SQLException e) {
Log.toLog(this.getClass().getName(), e);
}
// try {
// object.commit();
// } catch (SQLException e) {
// Log.toLog(this.getClass().getName(), e);
// }
}
}

View File

@ -6,8 +6,8 @@ package test.java.main.java.com.djrapitops.plan.ui.graphs;
import main.java.com.djrapitops.plan.data.Session;
import main.java.com.djrapitops.plan.data.TPS;
import main.java.com.djrapitops.plan.ui.html.graphs.*;
import main.java.com.djrapitops.plan.utilities.analysis.Point;
import main.java.com.djrapitops.plan.utilities.html.graphs.*;
import org.junit.Before;
import org.junit.Test;
import test.java.utils.RandomData;