From 7e3f851e106f48dc02b5fd626068a693334f8569 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Mon, 25 Oct 2010 17:42:00 -0400 Subject: [PATCH] polishing --- .../context/metadata/MetadataStore.java | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/context/metadata/MetadataStore.java b/spring-integration-core/src/main/java/org/springframework/integration/context/metadata/MetadataStore.java index fa243ea61c..5c49742219 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/context/metadata/MetadataStore.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/context/metadata/MetadataStore.java @@ -13,27 +13,29 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.integration.context.metadata; import java.util.Properties; /** - * Strategy interface for persisting metadata from certain adapters / endpoints + * Strategy interface for persisting metadata from certain adapters / endpoints * to avoid duplicate delivery of messages, for example. - * + * * @author Josh Long * @author Oleg Zhurakousky * @since 2.0 */ public interface MetadataStore { + /** - * Wil write propertoes to a persistent store - * @param metadata + * Writes metadata as Properties to this store. */ - void write(Properties metadata); - /** - * Will load Properties from the persistent store - * @return - */ - Properties load(); + void write(Properties metadata); + + /** + * Loads metadata as Properties from this store. + */ + Properties load(); + }