Merge pull request #390 from DevFactory/release/private-methods-that-don't-access-instance-data-should-be-static-fix-1

squid:S2325 - private methods that don't access instance data should …
This commit is contained in:
Ilkka Seppälä
2016-03-09 18:33:17 +02:00
6 changed files with 8 additions and 8 deletions

View File

@ -76,7 +76,7 @@ public class AppConfig {
/**
* Properties for Jpa
*/
private Properties jpaProperties() {
private static Properties jpaProperties() {
Properties properties = new Properties();
properties.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect");
properties.setProperty("hibernate.hbm2ddl.auto", "create-drop");