diff options
author | liamfallon <liam.fallon@est.tech> | 2019-12-04 09:20:04 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-12-04 17:14:11 +0000 |
commit | 7a0a44eac6167cfeff935c39f2c3f20d3a893c3e (patch) | |
tree | 5874e4b8f0e4b5ce8cc222912833029729fe4ed3 /packages | |
parent | 9253f81d14a5217479ca8e59efb198eaa32ec9f0 (diff) |
Minor changes for new Eclipse checkstyle checks
The laest Eclipse checkstyle version 8.26.0 does more thorough checking
and identified a number of small issues in the apex-pdp codebase. This
review fixes those issues.
Issue-ID: POLICY-1913
Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml b/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml index 692a925e7..670acb5f0 100644 --- a/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml +++ b/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml @@ -6,21 +6,22 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - + SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"> - <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.runtime" transaction-type="RESOURCE_LOCAL"> + <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.runtime" + transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>org.onap.policy.apex.core.basicmodel.dao.converters.UUID2String</class> @@ -76,7 +77,8 @@ </properties> </persistence-unit> - <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.test" transaction-type="RESOURCE_LOCAL"> + <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.test" + transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>org.onap.policy.apex.core.basicmodel.dao.converters.UUID2String</class> @@ -183,7 +185,8 @@ <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL94Dialect" /> <property name="hibernate.hbm2ddl.auto" value="update" /> - <property name="hibernate.connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider" /> + <property name="hibernate.connection.provider_class" + value="org.hibernate.connection.C3P0ConnectionProvider" /> <property name="hibernate.temp.use_jdbc_metadata_defaults" value="false" /> <property name="hibernate.c3p0.max_size" value="100" /> <property name="hibernate.c3p0.min_size" value="0" /> @@ -244,7 +247,8 @@ <property name="javax.persistence.jdbc.password" value="postgres" /> <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL94Dialect" /> <property name="hibernate.hbm2ddl.auto" value="create" /> - <property name="hibernate.connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider" /> + <property name="hibernate.connection.provider_class" + value="org.hibernate.connection.C3P0ConnectionProvider" /> <property name="hibernate.temp.use_jdbc_metadata_defaults" value="false" /> <property name="hibernate.c3p0.max_size" value="100" /> <property name="hibernate.c3p0.min_size" value="0" /> |