View | Details | Raw Unified | Return to bug 120875 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/JavadocConstants.java (-1 / +2 lines)
Lines 10-16 Link Here
10
	String CONSTRUCTOR_SUMMARY = "<!-- ======== CONSTRUCTOR SUMMARY ======== -->"; //$NON-NLS-1$
10
	String CONSTRUCTOR_SUMMARY = "<!-- ======== CONSTRUCTOR SUMMARY ======== -->"; //$NON-NLS-1$
11
	String FIELD_SUMMARY = "<!-- =========== FIELD SUMMARY =========== -->"; //$NON-NLS-1$
11
	String FIELD_SUMMARY = "<!-- =========== FIELD SUMMARY =========== -->"; //$NON-NLS-1$
12
	String ENUM_CONSTANT_SUMMARY = "<!-- =========== ENUM CONSTANT SUMMARY =========== -->"; //$NON-NLS-1$
12
	String ENUM_CONSTANT_SUMMARY = "<!-- =========== ENUM CONSTANT SUMMARY =========== -->"; //$NON-NLS-1$
13
	String ANNOTATION_TYPE_MEMBER_SUMMARY = "<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->"; //$NON-NLS-1$
13
	String ANNOTATION_TYPE_REQUIRED_MEMBER_SUMMARY = "<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->"; //$NON-NLS-1$
14
	String ANNOTATION_TYPE_OPTIONAL_MEMBER_SUMMARY = "<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->"; //$NON-NLS-1$
14
	String END_OF_CLASS_DATA = "<!-- ========= END OF CLASS DATA ========= -->"; //$NON-NLS-1$
15
	String END_OF_CLASS_DATA = "<!-- ========= END OF CLASS DATA ========= -->"; //$NON-NLS-1$
15
	String HTML_EXTENSION = ".html"; //$NON-NLS-1$
16
	String HTML_EXTENSION = ".html"; //$NON-NLS-1$
16
	String INDEX_FILE_NAME = "index.html"; //$NON-NLS-1$
17
	String INDEX_FILE_NAME = "index.html"; //$NON-NLS-1$
(-)model/org/eclipse/jdt/internal/core/BinaryType.java (-2 / +6 lines)
Lines 997-1004 Link Here
997
		indexOfNextSummary = contents.indexOf(JavadocConstants.ENUM_CONSTANT_SUMMARY);
997
		indexOfNextSummary = contents.indexOf(JavadocConstants.ENUM_CONSTANT_SUMMARY);
998
	}
998
	}
999
	if (this.isAnnotation() && indexOfNextSummary == -1) {
999
	if (this.isAnnotation() && indexOfNextSummary == -1) {
1000
		// try to find enum constant summary start
1000
		// try to find required enum constant summary start
1001
		indexOfNextSummary = contents.indexOf(JavadocConstants.ANNOTATION_TYPE_MEMBER_SUMMARY);
1001
		indexOfNextSummary = contents.indexOf(JavadocConstants.ANNOTATION_TYPE_REQUIRED_MEMBER_SUMMARY);
1002
		if (indexOfNextSummary == -1) {
1003
			// try to find optional enum constant summary start
1004
			indexOfNextSummary = contents.indexOf(JavadocConstants.ANNOTATION_TYPE_OPTIONAL_MEMBER_SUMMARY);
1005
		}
1002
	}
1006
	}
1003
	if (indexOfNextSummary == -1) {
1007
	if (indexOfNextSummary == -1) {
1004
		// try to find field summary start
1008
		// try to find field summary start

Return to bug 120875