You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/11 02:05:46 UTC

[james-project] 03/09: [REFACTORING] TestIdDeserializer class is not used

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 fafd21ee4da1bf593587e1357793584a863bc4f8
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Fri Nov 8 10:35:52 2019 +0700

    [REFACTORING] TestIdDeserializer class is not used
---
 .../james/mailbox/store/TestIdDeserializer.java    | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/TestIdDeserializer.java b/mailbox/store/src/test/java/org/apache/james/mailbox/store/TestIdDeserializer.java
deleted file mode 100644
index 80b3f80..0000000
--- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/TestIdDeserializer.java
+++ /dev/null
@@ -1,32 +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.model.TestId;
-import org.apache.james.mailbox.store.mail.model.MailboxIdDeserializer;
-
-public class TestIdDeserializer implements MailboxIdDeserializer {
-
-    @Override
-    public TestId deserialize(String serializedMailboxId) {
-        return TestId.of(Long.parseLong(serializedMailboxId));
-    }
-
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org