Bug 9407 - Java source code detected as C source
Summary: Java source code detected as C source
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 09:50 UTC by Sebastian Dröge (slomo)
Modified: 2007-02-05 03:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
java-parentclass.patch (401 bytes, patch)
2006-12-20 10:00 UTC, Sebastian Dröge (slomo)
Details | Splinter Review

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.