Bug 359831

Summary: Fix messages for "new warning for missing try-with-resources"
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: amj87.iitr, jarthana, Olivier_Thomann
Version: 3.8   
Target Milestone: 3.8 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Markus Keller CLA 2011-10-04 08:57:08 EDT
Follow-up to bug 349326

The messages 885 to 889 in /org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties originally contained '{0}', which caused CHKPII errors:

'{0}' will be resolved to the literal text: {0}.  If replaced text is supposed to be enclosed in single quotes, use ''{0}''.  Line 649

In master, the last commit changed this to "{0}", which is not the style we use. Please change to ''{0}'' (two single quotes).
Comment 1 Olivier Thomann CLA 2011-10-04 09:26:54 EDT
I'll fix it as I am also fixing small chkpii errors inside the buildnotes.
Comment 2 Markus Keller CLA 2011-10-04 09:40:06 EDT
I also saw some missing encodings in the headers of test.xml files:

Was:      <?xml version="1.0"?>
Expected: <?xml version="1.0" encoding="UTF-8"?>
Comment 3 Olivier Thomann CLA 2011-10-04 09:58:16 EDT
Fix for 3.8M3.
Commit     41a0b6a0e7fdff11d3aeb623a16808263b38f6e3
Comment 4 Markus Keller CLA 2011-10-10 07:02:06 EDT
Fixed one more encoding="UTF-8" and mixed line delimiters.

Commit 60bafa120d7812956042143e5d3c952c6141029e
Comment 5 Ayushman Jain CLA 2011-10-24 16:52:52 EDT
Verified using code inspection.