test/com/sun/javadoc/testSerializedFormDeprecationInfo/pkg1/C3.java

Tue, 10 May 2011 19:58:00 -0700

author
mfang
date
Tue, 10 May 2011 19:58:00 -0700
changeset 1002
7476b164194c
parent 554
9d9f26857129
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Merge

bpatel@222 1 /*
ohair@554 2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
bpatel@222 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
bpatel@222 4 *
bpatel@222 5 * This code is free software; you can redistribute it and/or modify it
bpatel@222 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@222 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@222 10 *
bpatel@222 11 * This code is distributed in the hope that it will be useful, but WITHOUT
bpatel@222 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
bpatel@222 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
bpatel@222 14 * version 2 for more details (a copy is included in the LICENSE file that
bpatel@222 15 * accompanied this code).
bpatel@222 16 *
bpatel@222 17 * You should have received a copy of the GNU General Public License version
bpatel@222 18 * 2 along with this work; if not, write to the Free Software Foundation,
bpatel@222 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
bpatel@222 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@222 24 */
bpatel@222 25
bpatel@222 26 package pkg1;
bpatel@222 27
bpatel@222 28 import java.io.Serializable;
bpatel@222 29
bpatel@222 30 /**
bpatel@222 31 * Test for Serializable
bpatel@222 32 *
bpatel@222 33 * @author Bhavesh Patel
bpatel@222 34 * @deprecated This class is no longer used.
bpatel@222 35 */
bpatel@222 36 @Deprecated
bpatel@222 37 public abstract class C3 implements Serializable {
bpatel@222 38
bpatel@222 39 /**
bpatel@222 40 * The name for this class.
bpatel@222 41 *
bpatel@222 42 * @serial
bpatel@222 43 */
bpatel@222 44 private String name;
bpatel@222 45
bpatel@222 46 /**
bpatel@222 47 * @serial
bpatel@222 48 */
bpatel@222 49 private int publicKey;
bpatel@222 50
bpatel@222 51 /**
bpatel@222 52 * Constructor for serialization only.
bpatel@222 53 */
bpatel@222 54 protected C3() {
bpatel@222 55
bpatel@222 56 }
bpatel@222 57
bpatel@222 58 /**
bpatel@222 59 * Prints general information.
bpatel@222 60 *
bpatel@222 61 */
bpatel@222 62 public void printInfo() {
bpatel@222 63
bpatel@222 64 }
bpatel@222 65 }

mercurial