Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the template variable "typecomment": * Workbench>Preferences>Java>Templates. */ public class A { -> We should disable the option CodeGeneration->create file comment -> Path should be Window>Preferences>Java>Templates
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
} else {
				fGetterSetterPrefixStatus= new StatusInfo();
			}
		}
		if (field == fGetterSetterSuffix || field == fUseGetterSetterSuffix) {
			fGetterSetterSuffix.setEnabled(fUseGetterSetterSuffix.isSelected());
			if (fUseGetterSetterSuffix.isSelected()) {
				String[] prefixes= unpackOrderList(fGetterSetterSuffix.getText());
				fGetterSetterSuffixStatus= validateIdentifiers(prefixes, false);
			} else {
				fGetterSetterSuffixStatus= new StatusInfo();
			}
		}		
		
		updateStatus(StatusUtil.getMoreSevere(fGetterSetterPrefixStatus, fGetterSetterSuffixStatus));
	}
	
	private void updateStatus(IStatus status) {
		setValid(!status.matches(IStatus.ERROR));
		StatusUtil.applyToStatusLine(this, status);
	}		
	
	private IStatus validateIdentifiers(String[] values, boolean prefix) {
		for (int i= 0; i < values.length; i++) {
			String val= values[i];
			if (val.length() == 0) {
				if (prefix) {
					return new StatusInfo(IStatus.ERROR, JavaUIMessages.getString("CodeGenerationPreferencePage.gettersetter.error.emptyprefix")); 
				} else {
					return new StatusInfo(IStatus.ERROR, JavaUIMessages.getString("CodeGenerationPreferencePage.gettersetter.error.emptysuffix"));