Commit 63d7fd4f authored by dietricf's avatar dietricf
Browse files

SI-379-Import Adressen sonarwork

parent dab684d7
...@@ -9,7 +9,9 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; ...@@ -9,7 +9,9 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
public class AddressImportApplication { public class AddressImportApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(AddressImportApplication.class, args); // passing through args is a security issue at sonar. As long as we don't know what for, we won't passthrough
// any arg
SpringApplication.run(AddressImportApplication.class, new String[0]);
} }
} }
...@@ -72,7 +72,7 @@ public class AddressService { ...@@ -72,7 +72,7 @@ public class AddressService {
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); log.error(ex);
log.warn("Adresse [sdo_x1= " + addressDto.getSdox1() log.warn("Adresse [sdo_x1= " + addressDto.getSdox1()
+ ", sdo_y1= " + addressDto.getSdoy1() + ", sdo_y1= " + addressDto.getSdoy1()
+ ", g3e_fid=" + addressDto.getG3efid() + ", g3e_fid=" + addressDto.getG3efid()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment