Wed, 18 Sep 2013 22:47:06 -0700
8024096: some javadoc tests may contain false positive results
Reviewed-by: jjg
bpatel@233 | 1 | /* |
ohair@554 | 2 | * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
bpatel@233 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
bpatel@233 | 4 | * |
bpatel@233 | 5 | * This code is free software; you can redistribute it and/or modify it |
bpatel@233 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@554 | 7 | * published by the Free Software Foundation. Oracle designates this |
bpatel@233 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@554 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
bpatel@233 | 10 | * |
bpatel@233 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
bpatel@233 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
bpatel@233 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
bpatel@233 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
bpatel@233 | 15 | * accompanied this code). |
bpatel@233 | 16 | * |
bpatel@233 | 17 | * You should have received a copy of the GNU General Public License version |
bpatel@233 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
bpatel@233 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
bpatel@233 | 20 | * |
ohair@554 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@554 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@554 | 23 | * questions. |
bpatel@233 | 24 | */ |
bpatel@233 | 25 | |
bpatel@233 | 26 | package pkg1; |
bpatel@233 | 27 | |
bpatel@233 | 28 | import java.io.ObjectInputStream; |
bpatel@233 | 29 | import java.io.IOException; |
bpatel@233 | 30 | import java.io.Serializable; |
bpatel@233 | 31 | |
bpatel@233 | 32 | /** |
bpatel@233 | 33 | * A class comment for testing. |
bpatel@233 | 34 | * |
bpatel@233 | 35 | * @author Bhavesh Patel |
bpatel@233 | 36 | * @see C1 |
bpatel@233 | 37 | * @since JDK1.0 |
bpatel@233 | 38 | */ |
bpatel@233 | 39 | |
bpatel@233 | 40 | public class C2 implements Serializable { |
bpatel@233 | 41 | |
bpatel@233 | 42 | /** |
bpatel@233 | 43 | * This field indicates title. |
bpatel@233 | 44 | */ |
bpatel@233 | 45 | String title; |
bpatel@233 | 46 | |
bpatel@233 | 47 | public static enum ModalType { |
bpatel@233 | 48 | NO_EXCLUDE |
bpatel@233 | 49 | }; |
bpatel@233 | 50 | |
bpatel@233 | 51 | /** |
bpatel@233 | 52 | * Constructor. |
bpatel@233 | 53 | * |
bpatel@233 | 54 | */ |
bpatel@233 | 55 | public C2() { |
bpatel@233 | 56 | |
bpatel@233 | 57 | } |
bpatel@233 | 58 | |
bpatel@233 | 59 | public C2(String title) { |
bpatel@233 | 60 | |
bpatel@233 | 61 | } |
bpatel@233 | 62 | |
bpatel@233 | 63 | /** |
bpatel@233 | 64 | * Set visible. |
bpatel@233 | 65 | * |
bpatel@233 | 66 | * @param set boolean |
bpatel@233 | 67 | * @since 1.4 |
bpatel@233 | 68 | * @deprecated As of JDK version 1.5, replaced by |
bpatel@233 | 69 | * {@link C1#setUndecorated(boolean) setUndecorated(boolean)}. |
bpatel@233 | 70 | */ |
bpatel@233 | 71 | @Deprecated |
bpatel@233 | 72 | public void setVisible(boolean set) { |
bpatel@233 | 73 | } |
bpatel@233 | 74 | |
bpatel@233 | 75 | /** |
bpatel@233 | 76 | * Reads the object stream. |
bpatel@233 | 77 | * |
bpatel@233 | 78 | * @param s ObjectInputStream |
bpatel@233 | 79 | * @throws <code>IOException</code> |
bpatel@233 | 80 | * @deprecated As of JDK version 1.5, replaced by |
bpatel@233 | 81 | * {@link C1#setUndecorated(boolean) setUndecorated(boolean)}. |
bpatel@233 | 82 | */ |
bpatel@233 | 83 | @Deprecated |
bpatel@233 | 84 | public void readObject(ObjectInputStream s) throws IOException { |
bpatel@233 | 85 | } |
bpatel@233 | 86 | } |