Bug 66030 - Header comment formatted regardless of option
Summary: Header comment formatted regardless of option
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-06-07 15:24 EDT by Charles Hasegawa CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Hasegawa CLA 2004-06-07 15:24:10 EDT
If a java class does not have a class javadoc comment, then any header is 
formatted even if the option to format the header is unchecked in the settings.

For example, we use the following header:

/**
 * Copyright © 2004 Scientific Technologies Corporation.  All rights reserved.
 * COPYRIGHT NOTICE:  The existence of a copyright notice on Software
 * will not be construed as an admission or presumption that public disclosure
 * of Software or any trade secrets associated with Software has occurred
 * or is permitted.
 ********************************************************************
 * PROPRIETARY NOTICE:  The source code contained in this listing is a
 * proprietary confidential trade secret of Scientific Technologies 
Corporation.
 * Unauthorized copying, adaptation, distribution, use, or display is 
prohibited.
 ********************************************************************
 * $Id:$
 ********************************************************************
 */

If the line width is set to 100 and there is no class javadoc, then formatting 
the file re-formats this header.
Comment 1 Kai-Uwe Maetzel CLA 2004-06-08 03:55:01 EDT
What's your build number?
Comment 2 Charles Hasegawa CLA 2004-06-08 11:00:46 EDT
Sorry - build ID:200405290105
Comment 3 Dani Megert CLA 2007-06-22 09:59:10 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:28 EDT
.