Skip to content
Snippets Groups Projects
Commit 42118997 authored by Goik Martin's avatar Goik Martin
Browse files

Javadoc correction

parent dddd52e1
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,6 @@ public class DataInsert {
* lacking age specification.
* @param productId See {@link #insertproduct(String, String, int)}
* @param productName See {@link #insertproduct(String, String, int)}
* @throws SQLException
*/
public void insertproduct(final String productId, final String productName) {
final String sqlInsertStmt = "INSERT INTO Product (id, name) VALUES ('" + productId + "', '" + productName + "');";
......@@ -43,7 +42,6 @@ public class DataInsert {
* @param productId The product's unique id property
* @param productName The product's end user readable name.
* @param age The product's age
* @throws SQLException
*/
public void insertproduct(final String productId, final String productName, final int age) {
......@@ -63,7 +61,6 @@ public class DataInsert {
*
* @param productId The description belongs to this product
* @param descriptions All descriptions belonging to productId
* @throws SQLException
*/
public void insertDescription(final String productId, final List<String> descriptions) {
......@@ -77,6 +74,10 @@ public class DataInsert {
}
}
}
/**
* Closing internal Statement instance
* @throws SQLException
*/
public void close() throws SQLException {
stmt.close();
}
......
package de.hdm_stuttgart.mi.sda1.catalog2sql;
/**
* Project wide helper methods
*
*/
public class Helper {
/**
* Write message to stderr and exit with given error code
* @param errMsg
* @param errorCode
*/
public static void exitWithErrorMessage(final String errMsg, int errorCode) {
System.err.println(errMsg);
System.exit(errorCode);
......
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