001 /***********************************************************************************************************************
002 *
003 * JavaMail Mock2 Provider - open source mock classes for mock up JavaMail
004 * =======================================================================
005 *
006 * Copyright (C) 2014 by Hendrik Saly (http://saly.de)
007 *
008 * Based on ideas from Kohsuke Kawaguchi's Mock-javamail (https://java.net/projects/mock-javamail)
009 *
010 ***********************************************************************************************************************
011 *
012 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
013 * the License. You may obtain a copy of the License at
014 *
015 * http://www.apache.org/licenses/LICENSE-2.0
016 *
017 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
018 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
019 * specific language governing permissions and limitations under the License.
020 *
021 ***********************************************************************************************************************
022 *
023 * $Id:$
024 *
025 **********************************************************************************************************************/
026 package com.sun.mail.pop3;
027
028 import de.saly.javamail.mock2.POP3MockStore;
029
030 /**
031 * this class is needed currently because com.sun.mail.pop3.POP3Folder has a
032 * constructor with default visibility
033 * See https://kenai.com/bugzilla/show_bug.cgi?id=6379
034 */
035 public class POP3MockFolder0 extends POP3Folder {
036
037 // POP3 has only one Folder INBOX
038 private static final String INBOX = "INBOX";
039
040 // make constructor visible for subclasses
041 protected POP3MockFolder0(final POP3MockStore store) {
042 super(store, INBOX);
043 }
044
045 }