INTSAMPLES-143: Fix Package Tangles
JIRA: https://jira.spring.io/browse/INTSAMPLES-143 Add Sonar support to build.gradle. Fix critical violations.
This commit is contained in:
committed by
Artem Bilan
parent
70b4d12870
commit
61603c2437
@@ -24,6 +24,8 @@ import java.util.Scanner;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.context.support.AbstractApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.samples.jdbc.domain.Gender;
|
||||
import org.springframework.integration.samples.jdbc.domain.Person;
|
||||
import org.springframework.integration.samples.jdbc.service.PersonService;
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.jdbc;
|
||||
package org.springframework.integration.samples.jdbc.domain;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.jdbc;
|
||||
package org.springframework.integration.samples.jdbc.domain;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.jdbc;
|
||||
package org.springframework.integration.samples.jdbc.domain;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -10,7 +10,7 @@
|
||||
* 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.
|
||||
*/
|
||||
package org.springframework.integration.samples.jdbc;
|
||||
package org.springframework.integration.samples.jdbc.domain;
|
||||
|
||||
public class User {
|
||||
private String username;
|
||||
@@ -10,7 +10,7 @@
|
||||
* 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.
|
||||
*/
|
||||
package org.springframework.integration.samples.jdbc;
|
||||
package org.springframework.integration.samples.jdbc.domain;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -18,7 +18,7 @@ package org.springframework.integration.samples.jdbc.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.integration.samples.jdbc.Person;
|
||||
import org.springframework.integration.samples.jdbc.domain.Person;
|
||||
|
||||
/**
|
||||
* The Service used to create Person instance in database
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<bean id="personResultMapper" class="org.springframework.integration.samples.jdbc.PersonMapper"/>
|
||||
<bean id="personResultMapper" class="org.springframework.integration.samples.jdbc.domain.PersonMapper"/>
|
||||
<int-jdbc:outbound-gateway data-source="datasource"
|
||||
request-channel="createPersonRequestChannel"
|
||||
reply-channel="createPersonReplyChannel"
|
||||
|
||||
@@ -22,6 +22,8 @@ import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.samples.jdbc.domain.Gender;
|
||||
import org.springframework.integration.samples.jdbc.domain.Person;
|
||||
import org.springframework.integration.samples.jdbc.service.PersonService;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user