Bug 9407

Summary: Java source code detected as C source
Product: shared-mime-info Reporter: Sebastian Dröge (slomo) <slomo>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: java-parentclass.patch

Description Sebastian Dröge (slomo) 2006-12-20 09:50:14 UTC
Hi,
current shared-mime-info detects Java source code as C source code if it starts
with a /* ... */ or // comment. Attached patch fixes this.

Bye
Comment 1 Sebastian Dröge (slomo) 2006-12-20 10:00:24 UTC
Created attachment 8180 [details] [review]
java-parentclass.patch
Comment 2 Bastien Nocera 2007-02-05 03:09:43 UTC
2007-02-05  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Sebastian Dröge <slomo@ubuntu.com>
        to not mis-detect Java files as C when they start with comments
        (Closes: #9407), same trick with CSS files (Closes: #9469)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.