Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-202

Rename/refactor classes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 0.2
    • 0.2
    • Common
    • None
    • Low

      The following are some changes that we need to make that will have a large impact on the codebase, and so we want to do these toward the end of the release when all other changes have been made.

      1) Rename "org.jboss.dna.common.util.ArgCheck" to "org.jboss.dna.common.util.CheckArg", since the latter is more readable.
      2) Rename the "dna-spi" project to "dna-graph", since it will house not only the SPI but a new API (DNA-215). The package structure will be changed to be:

      • org.jboss.dna.graph => The location of the new API (plus package-level implementations) and ExecutionContext and other major interfaces
      • org.jboss.dna.graph.properties => The new location for what is now "o.j.d.spi.graph" (the property and value interfaces), and where the implementations will be moved and made package-level.
      • org.jboss.dna.graph.cache => The interfaces for the caching policy (what is now "o.j.d.spi.cache")
      • org.jboss.dna.graph.commands => The new location for what is now "o.j.d.spi.graph.commands" and "...commands.impl"
      • org.jboss.dna.graph.connectors => The SPI interfaces for the connectors (what is now "o.j.d.spi.connectors")
      • org.jboss.dna.graph.sequencers => The SPI interface(s) for the sequencer
      • org.jboss.dna.graph.mimetypes => The SPI interface(s) for the MIME type detectors
      • org.jboss.dna.graph.util => The location for graph utilities (e.g., graph importers, maybe the XML sequencer)

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: