Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit ab7a0a3f authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Sonar warning

parent cb24e3f6
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,6 @@ public class SMPSchemaGenerator {
public static void main(String[] args) throws IOException, ClassNotFoundException {
String strDialects = args[0]; // comma separated dialects
String strVersion = args.length > 1 ? args[1] : ""; // version
String exportFolder = args.length > 2 ? args[2] : ""; // export folder
......@@ -58,12 +57,7 @@ public class SMPSchemaGenerator {
*/
public void createDDLScript(String exportFolder, String hibernateDialect, List<String> packageNames, String version) throws ClassNotFoundException, IOException {
// create export file
String sqlVer = version;
int idx = version.indexOf("-SNAPSHOT");
if (idx > 0) {
sqlVer = version.substring(0, idx);
}
String filename = createFileName(hibernateDialect, filenameTemplate);
String filename = createFileName(hibernateDialect, filenameTemplate);
String filenameDrop = createFileName(hibernateDialect, filenameDropTemplate);
String dialect = getDialect(hibernateDialect);
......
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