Bug 118246 Definition of getJavaLikeExtensions() leads to programming errors
I20051123-1200 In contrast to all existing get*Extension* methods for file (names) in the Platform the new getJavaLikeExtensions() method is containing the '.'. This leads to programming errors when working with extensions in Eclipse: IFile.getFileExtension() returns 'java' for Foo.java IFileEditorMapping.getExtension() for the Java editor returns 'java' BUT: JavaCore.getJavaLikeExtensions() returns '.java'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlink.java
private List fResult;
		private IProgressMonitor fProgressMonitor;
		private boolean fIsKeyDoubleQuoted;
		public ResultCollector(List result, IProgressMonitor progressMonitor, boolean isKeyDoubleQuoted) {
			fResult= result;
			fProgressMonitor= progressMonitor;
			fIsKeyDoubleQuoted= isKeyDoubleQuoted;
		}
		public void aboutToStart() throws CoreException {
			
		}
		public void accept(IResourceProxy proxy, int start, int length) throws CoreException {
			
			if (fIsKeyDoubleQuoted) {
				start= start + 1;
				length= length - 2;
			}
			fResult.add(new KeyReference((IFile)proxy.requestResource(), start, length));
		}