This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit d1dd6c5cddfe4d32f0978aac1a56772422fee95d Author: Benoit Tellier <[email protected]> AuthorDate: Sat Nov 16 11:00:49 2019 +0700 [Refactoring] Replace mailbox-store SimpleProperty with mailbox-api one --- .../apache/james/mailbox/store/SimpleProperty.java | 54 ---------------------- .../model/ListMessagePropertiesAssertTest.java | 2 +- 2 files changed, 1 insertion(+), 55 deletions(-) diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/SimpleProperty.java b/mailbox/store/src/test/java/org/apache/james/mailbox/store/SimpleProperty.java deleted file mode 100644 index 4958d43..0000000 --- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/SimpleProperty.java +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************** - * Licensed to the Apache Software Foundation (ASF) under one * - * or more contributor license agreements. See the NOTICE file * - * distributed with this work for additional information * - * regarding copyright ownership. The ASF licenses this file * - * to you 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.apache.james.mailbox.store; - -import org.apache.james.mailbox.store.mail.model.Property; - -/** - * Simple implementation suitable for testing. - */ -public class SimpleProperty implements Property { - - public String localName; - public String namespace; - public String value; - - public SimpleProperty(String namespace, String localName, String value) { - super(); - this.localName = localName; - this.namespace = namespace; - this.value = value; - } - - @Override - public String getLocalName() { - return localName; - } - - @Override - public String getNamespace() { - return namespace; - } - - @Override - public String getValue() { - return value; - } - -} diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/ListMessagePropertiesAssertTest.java b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/ListMessagePropertiesAssertTest.java index ba33af8..2228d00 100644 --- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/ListMessagePropertiesAssertTest.java +++ b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/ListMessagePropertiesAssertTest.java @@ -23,7 +23,7 @@ import static org.apache.james.mailbox.store.mail.model.ListMessagePropertiesAss import java.util.List; -import org.apache.james.mailbox.store.SimpleProperty; +import org.apache.james.mailbox.store.mail.model.impl.SimpleProperty; import org.junit.Before; import org.junit.Test; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
