Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreparedStatements need to be closed! #4

Closed
ghost opened this issue Sep 14, 2016 · 1 comment
Closed

PreparedStatements need to be closed! #4

ghost opened this issue Sep 14, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 14, 2016

Java file: HSQLDBPerceptronRepository
Method name: clear()
Problematic line(s) of code:

conn.prepareStatement("drop table node").execute();
conn.prepareStatement("drop table wordhidden").execute();
conn.prepareStatement("drop table hiddenword").execute();

Expected: PreparedStatements should be closed for a better coding convention.

Actual: PreparedStatements are not being closed which is against the coding convention.

@ghost
Copy link
Author

ghost commented Sep 14, 2016

Closing this issue since issue #5 includes this one.

@ghost ghost closed this as completed Sep 14, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants