Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11868

unused imports and generic types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Legacy/Core
    • None

    Description

      I was going through Cassandra source and for busy work I started looking at all the .java files eclipse flags as warning. They are broken roughly into a few cases.
      1) unused imports
      2) raw types missing <>
      3) case statements without defaults
      4) @resource annotation

      My IDE claims item 4 is not needed (it looks like we have done this to signify methods that return objects that need to be closed) I can guess 4 was done intentionally and short of making out own annotation I will ignore these for now.

      I would like to tackle this busy work before I get started. I have some questions:
      1) Do this only on trunk? or multiple branches
      2) should I tackle 1,2,3 in separate branches/patches

      Attachments

        Activity

          People

            appodictic Edward Capriolo
            appodictic Edward Capriolo
            Edward Capriolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: