View Javadoc
1   /***********************************************************************************************************************
2    *
3    * JavaMail Mock2 Provider - open source mock classes for mock up JavaMail
4    * =======================================================================
5    *
6    * Copyright (C) 2014 by Hendrik Saly (http://saly.de)
7    * 
8    * Based on ideas from Kohsuke Kawaguchi's Mock-javamail (https://java.net/projects/mock-javamail)
9    *
10   ***********************************************************************************************************************
11   *
12   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
13   * the License. You may obtain a copy of the License at
14   *
15   *     http://www.apache.org/licenses/LICENSE-2.0
16   *
17   * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
18   * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
19   * specific language governing permissions and limitations under the License.
20   *
21   ***********************************************************************************************************************
22   *
23   * $Id:$
24   *
25   **********************************************************************************************************************/
26  package com.sun.mail.pop3;
27  
28  import de.saly.javamail.mock2.POP3MockStore;
29  
30  /**
31   * this class is needed currently because com.sun.mail.pop3.POP3Folder has a
32   * constructor with default visibility
33   * See https://kenai.com/bugzilla/show_bug.cgi?id=6379
34   */
35  public class POP3MockFolder0 extends POP3Folder {
36  
37      // POP3 has only one Folder INBOX
38      private static final String INBOX = "INBOX";
39  
40      // make constructor visible for subclasses
41      protected POP3MockFolder0(final POP3MockStore store) {
42          super(store, INBOX);
43      }
44  
45  }