Skip to content
Snippets Groups Projects
Commit c627357e authored by User expired's avatar User expired
Browse files

fixed broken tests

parent f075069c
No related branches found
No related tags found
No related merge requests found
...@@ -783,6 +783,10 @@ public class Database { ...@@ -783,6 +783,10 @@ public class Database {
* @return a string with the placeholders plugged in to a statement. * @return a string with the placeholders plugged in to a statement.
*/ */
private static String calculatePlaceHolders(final int length) { private static String calculatePlaceHolders(final int length) {
if (length <= 0) {
return "";
}
final StringBuilder builder = new StringBuilder((2 * length) - 1); final StringBuilder builder = new StringBuilder((2 * length) - 1);
builder.append("?"); builder.append("?");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment