Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#113 allow brackets in wildcard generic types

closed
Lars Kühne
None
5
2012-10-10
2006-02-02
No

This change is a fix to this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1394014&group_id=29721&atid=397078

The fix is to allow brackets in typeArgumentBounds
after classOrInterfaceType. The InputGenerics test
class has been extended to include tests for this (this
is valid code that does not work under the current
version).

Please let me know if you need anything further.

Discussion

  • java.g and test class changes

     
    Attachments
  • Torsten Marek
    Torsten Marek
    2007-03-19

    Logged In: YES
    user_id=603402
    Originator: NO

    I strongly urge you to add this patch to Checkstyle, because we also ran into this problem and it took us some time to find out that Eclipse-CS did not catch the exceptions emitted by Checkstyle when it could not parse the input file.

     
  • Lars Kühne
    Lars Kühne
    2007-03-25

    Logged In: YES
    user_id=401384
    Originator: NO

    Applied, will be part of the next version of Checkstyle.

    Thanks to Paul for providing the patch and to Torsten for the reminder.