Skip to content

Commit

Permalink
1.8系で動く様に……
Browse files Browse the repository at this point in the history
  • Loading branch information
HimaJyun committed Jan 22, 2017
1 parent c14596c commit 10085db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>jp.jyn</groupId>
<artifactId>Jecon</artifactId>
<version>1.1</version>
<version>1.1.1</version>
<build>
<plugins>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jp/jyn/jecon/config/ConfigStruct.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private DbConfig() {
url = tmp;
// プロパティ取得
tmp = "Database." + (isMySQL ? "MySQL" : "SQLite") + ".Propaties";
if (conf.contains(tmp, true)) {
if (conf.contains(tmp)) {
for (String key : conf.getConfigurationSection(tmp).getKeys(false)) {
propaties.put(key, conf.getString(tmp + "." + key));
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jp/jyn/jecon/db/rdbms/SQLite.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public SQLite(Jecon jecon) {

HikariConfig hikariConfig = new HikariConfig();
hikariConfig.setDriverClassName("org.sqlite.JDBC");
//hikariConfig.setConnectionTestQuery("/* Jecon */SELECT 1");
hikariConfig.setConnectionTestQuery("/* Jecon */SELECT 1");

super.setup(jecon, hikariConfig);
}
Expand Down

0 comments on commit 10085db

Please sign in to comment.