Bug 10436

Summary: Do not provide inappropiate default templates
Product: [Eclipse Project] JDT Reporter: Jim des Rivieres <jeem>
Component: UIAssignee: Claude Knaus <Claude_Knaus>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 98   
Whiteboard:

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.