Fixed several small issues
This commit is contained in:
parent
845c5ebe49
commit
ddae394534
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,3 +11,6 @@
|
||||
/target/
|
||||
|
||||
/nbproject/
|
||||
*nbactions.xml
|
||||
.bib.sqlite3**
|
||||
|
||||
|
@ -453,7 +453,7 @@ public class CheckCommand implements Command {
|
||||
LOG.info("Part {}: Updating files - content and last modification date were changed: {}",
|
||||
CheckCommandPart.COMPARE_CONTENT_AND_LAST_MODTIME.number,
|
||||
contentAndModTimeWereChanged);
|
||||
LOG.info("Part {}: Updating files - content and last modification date were not changed): {}",
|
||||
LOG.info("Part {}: Updating files - content and last modification date were not changed: {}",
|
||||
CheckCommandPart.COMPARE_CONTENT_AND_LAST_MODTIME.number,
|
||||
filesToUpdateLastCheckDate.size());
|
||||
bibContext.getFileRepository().updateLastCheckDate(now.toString(), filesToUpdateLastCheckDate);
|
||||
|
@ -45,7 +45,7 @@ public class HelpCommand implements Command {
|
||||
|
||||
SYNOPSIS
|
||||
bib [command] [options]
|
||||
If no command is provided, then the default command check is used. This means, if you run "bit-backup", it is the same, as to run "bib check".
|
||||
If no command is provided, then the default command check is used. This means, if you run "bib", it is the same, as to run "bib check".
|
||||
|
||||
DESCRIPTION
|
||||
Detects bit rotten files in the given directory to keep your files forever.
|
||||
|
@ -143,8 +143,8 @@ public class SystemItemRepositoryImplSqlite implements SystemItemRepository {
|
||||
|
||||
String sql = sb.toString();
|
||||
try (
|
||||
Connection connection = sqliteConnectionFactory.createConnection(); PreparedStatement stmt = connection.prepareStatement(sql);) {
|
||||
|
||||
Connection connection = sqliteConnectionFactory.createConnection(); PreparedStatement stmt = connection.prepareStatement(sql)) {
|
||||
stmt.setString(1, key);
|
||||
stmt.executeUpdate();
|
||||
} catch (SQLException e) {
|
||||
System.out.println(e.getMessage());
|
||||
|
Loading…
x
Reference in New Issue
Block a user