Skip to content

Commit

Permalink
last commit, out of time
Browse files Browse the repository at this point in the history
  • Loading branch information
sanikk committed May 10, 2020
1 parent a17fb19 commit 5421185
Show file tree
Hide file tree
Showing 11 changed files with 337 additions and 365 deletions.
2 changes: 1 addition & 1 deletion SnippetManager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>HimaPaja</groupId>
<artifactId>SnippetManager</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public boolean create(Language language) {
paluuposti.executeUpdate();
ResultSet rs = paluuposti.getGeneratedKeys();
if (rs.next()) {
int id = rs.getInt("id");
language.setId(id);
language.setId(rs.getInt("id"));
}
conn.close();
return true;
Expand Down
Loading

0 comments on commit 5421185

Please sign in to comment.