diff --git a/spring-integration-core/src/main/java/org/springframework/integration/core/StringMessage.java b/spring-integration-core/src/main/java/org/springframework/integration/core/StringMessage.java deleted file mode 100644 index 9e9e7d3b43..0000000000 --- a/spring-integration-core/src/main/java/org/springframework/integration/core/StringMessage.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2002-2010 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.core; - - -/** - * A message implementation that accepts a String payload. - * - * @author Mark Fisher - */ -public class StringMessage extends GenericMessage { - - private static final long serialVersionUID = -5084164633133229804L; - - public StringMessage(String payload) { - super(payload); - } - -} diff --git a/spring-integration-test/src/main/java/org/springframework/integration/test/TestMessage.java b/spring-integration-test/src/main/java/org/springframework/integration/test/TestMessage.java deleted file mode 100644 index edc42050d1..0000000000 --- a/spring-integration-test/src/main/java/org/springframework/integration/test/TestMessage.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2002-2007 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.test; - -import org.springframework.integration.core.StringMessage; - -/** - * @author Mark Fisher - */ -@SuppressWarnings("serial") -public class TestMessage extends StringMessage { - - public TestMessage(String payload) { - super("test"); - } - -}