Fix compatibility with Boot-1.4 and fresh POMs
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.integration.samples.storedprocedure.model;
|
||||
package org.springframework.integration.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.integration.samples.storedprocedure.model.TwitterMessage;
|
||||
import org.springframework.integration.model.TwitterMessage;
|
||||
import org.springframework.integration.service.TwitterService;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@ package org.springframework.integration.service;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.springframework.integration.samples.storedprocedure.model.TwitterMessage;
|
||||
import org.springframework.integration.model.TwitterMessage;
|
||||
|
||||
|
||||
/**
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -28,6 +28,8 @@ public class DummyTwitter {
|
||||
|
||||
private long id;
|
||||
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public Tweet getTweet() {
|
||||
Tweet tweet = new Tweet(++this.id, "" + this.id,
|
||||
"Spring Integration is the coolest Enterprise Integration project",
|
||||
@@ -22,7 +22,7 @@ import java.util.Map;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.integration.endpoint.SourcePollingChannelAdapter;
|
||||
import org.springframework.integration.samples.storedprocedure.model.TwitterMessage;
|
||||
import org.springframework.integration.model.TwitterMessage;
|
||||
import org.springframework.integration.monitor.IntegrationMBeanExporter;
|
||||
import org.springframework.integration.service.TwitterService;
|
||||
import org.springframework.integration.support.MessageBuilder;
|
||||
|
||||
Reference in New Issue
Block a user