Bug 10436 - Do not provide inappropiate default templates
Summary: Do not provide inappropiate default templates
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 98
: P1 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-27 16:15 EST by Jim des Rivieres CLA
Modified: 2002-03-08 04:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2002-02-27 16:15:17 EST
The 'typecomment' template has the following default value:

/**
 * @version 	1.0
 * @author
 */

The 'filecomment' template has the following default value:

/*
 * (c) Copyright 2001 MyCorporation.
 * All Rights Reserved.
 */

Both of these templates are on by default. This leads to
the Java editor adding inappropriate comments to every source
file generated.

Recommended behavior:
(1) The default 'typecomment' template should be completely empty.
(2) The default 'filecomment' template should be completely empty.
(3) Both templates should be on by default. With empty templates,
bogus class javadoc and file header comments will be not generated.

This means that a user that actually changes these templates to
have suitable values will automatically reap the benefits.
Comment 1 Erich Gamma CLA 2002-03-04 18:59:04 EST
agreed, a must fix  (the "Generated by VisualAge/Java" comments are still in 
fresh memory...)
Comment 2 Claude Knaus CLA 2002-03-08 04:43:41 EST
fixed > 20020307
Comment 3 Claude Knaus CLA 2002-03-08 04:44:16 EST
you'll need to restore defaults in the template preference page to update those 
templates.