Remove loading messages.

This commit is contained in:
Winston Li 2015-02-22 02:59:50 +00:00
parent 52f2190346
commit 59001735b1
4 changed files with 2 additions and 4 deletions

View file

@ -64,7 +64,6 @@ public class WLGitBridgeServer {
public void start() {
try {
jettyServer.start();
Util.sout();
Util.sout(Util.getServiceName() + "-Git Bridge server started");
Util.sout("Listening on port: " + port);
Util.sout("Bridged to: " + writeLatexHostname);

View file

@ -20,6 +20,7 @@ public class ShutdownHook extends Thread implements LockAllWaiter {
projectLock.lockAll();
Util.sout("No projects to wait for.");
Util.sout("Bye");
Util.sout();
}
@Override

View file

@ -38,7 +38,7 @@ public class DataStore implements CandidateSnapshotCallback {
persistentStore = new PersistentStore(rootGitDirectory);
List<String> excludedFromDeletion = persistentStore.getProjectNames();
excludedFromDeletion.add(".wlgb");
Util.deleteInDirectoryApartFrom(rootGitDirectory, excludedFromDeletion.toArray(new String[]{}));
Util.deleteInDirectoryApartFrom(rootGitDirectory, excludedFromDeletion.toArray(new String[] {}));
snapshotFetcher = new SnapshotFetcher();
resourceFetcher = new ResourceFetcher(persistentStore);

View file

@ -1,6 +1,5 @@
package uk.ac.ic.wlgitbridge.writelatex.model.db.sql;
import uk.ac.ic.wlgitbridge.util.Util;
import uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query.GetLatestVersionForProjectSQLQuery;
import uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query.GetPathForURLInProjectSQLQuery;
import uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query.GetProjectNamesSQLQuery;
@ -25,7 +24,6 @@ public class SQLiteWLDatabase {
public SQLiteWLDatabase(File rootGitDirectory) throws SQLException, ClassNotFoundException {
File databaseFile = new File(rootGitDirectory, "/.wlgb/wlgb.db");
databaseFile.getParentFile().mkdirs();
Util.sout("Loading data...");
Class.forName("org.sqlite.JDBC");
connection = DriverManager.getConnection("jdbc:sqlite:" + databaseFile.getAbsolutePath());
createTables();