Skip to content

Commit

Permalink
org.sqlite.SQLiteConfig.setDatePrecision(String) throws unnecessary S… (
Browse files Browse the repository at this point in the history
#751)

Closes: #467
  • Loading branch information
michael-o authored Jul 28, 2022
1 parent a6d63ee commit 14d5903
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/org/sqlite/SQLiteConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -1049,11 +1049,8 @@ public static DatePrecision getPrecision(String precision) {
}
}

/**
* @param datePrecision One of SECONDS or MILLISECONDS
* @throws SQLException
*/
public void setDatePrecision(String datePrecision) throws SQLException {
/** @param datePrecision One of SECONDS or MILLISECONDS */
public void setDatePrecision(String datePrecision) {
this.defaultConnectionConfig.setDatePrecision(DatePrecision.getPrecision(datePrecision));
}

Expand Down

0 comments on commit 14d5903

Please sign in to comment.