From b1aecbd91010857e2bd2b7e4af49de49b61f09fb Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Mon, 13 Feb 2012 09:46:20 -0500 Subject: [PATCH] INTSAMPLES-54 - Add missing Copyright notice --- .../samples/helloworld/HelloService.java | 4 ++-- .../samples/helloworld/HelloWorldApp.java | 8 ++++---- .../integration/samples/helloworld/PollerApp.java | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloService.java b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloService.java index a8f76a8c..a1c6e202 100644 --- a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloService.java +++ b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloService.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2012 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. @@ -18,7 +18,7 @@ package org.springframework.integration.samples.helloworld; /** * Simple POJO to be referenced from a Service Activator. - * + * * @author Mark Fisher */ public class HelloService { diff --git a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java index b4b47a4e..ce6f876c 100644 --- a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java +++ b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2012 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. @@ -33,20 +33,20 @@ import org.springframework.integration.message.GenericMessage; *

* View the configuration of the channels and the endpoint (a <service-activator/> * element) in 'helloWorldDemo.xml' within this same package. - * + * * @author Mark Fisher * @author Oleg Zhurakousky */ public class HelloWorldApp { private static Logger logger = Logger.getLogger(HelloWorldApp.class); - + public static void main(String[] args) { AbstractApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/helloWorldDemo.xml", HelloWorldApp.class); MessageChannel inputChannel = context.getBean("inputChannel", MessageChannel.class); PollableChannel outputChannel = context.getBean("outputChannel", PollableChannel.class); inputChannel.send(new GenericMessage("World")); - logger.info("==> HelloWorldDemo: " + outputChannel.receive(0).getPayload()); + logger.info("==> HelloWorldDemo: " + outputChannel.receive(0).getPayload()); } } diff --git a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/PollerApp.java b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/PollerApp.java index b173b22b..f9a38206 100644 --- a/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/PollerApp.java +++ b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/PollerApp.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2012 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. + * 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. + */ package org.springframework.integration.samples.helloworld; import org.springframework.context.support.ClassPathXmlApplicationContext;