Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-487

SVGConstants should be public final class

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      SVGConstants is widely used throughout Batik. It is an interface but only
      defines constants. As per 'Effective Java' (J.Bloch) Item 17, it should
      preferably be converted to a final class. The namespace of references to its
      constants would then be immediately obvious.

        Attachments

        1. batik-diffs.txt.gz
          64 kB
          richard.beton
        2. batik-diffs.txt.gz
          64 kB
          richard.beton

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              richard.beton@roke.co.uk richard.beton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: