Skip to content

Commit ff7036c

Browse files
authored
Fix Create new member record: preview is missing record keyword (eclipse-jdt#2186)
fixes eclipse-jdt#2185
1 parent 2018130 commit ff7036c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/NewCUUsingWizardProposal.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,9 @@ public Object getAdditionalProposalInfo(IProgressMonitor monitor) {
558558
case K_ANNOTATION:
559559
buf.append("@interface <b>"); //$NON-NLS-1$
560560
break;
561+
case K_RECORD:
562+
buf.append("record <b>"); //$NON-NLS-1$
563+
break;
561564
}
562565
if (fTypeNameWithParameters != null) {
563566
nameToHTML(fTypeNameWithParameters, buf);

0 commit comments

Comments
 (0)