Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-587

Rename internal packages

    XMLWordPrintableJSON

Details

    Description

      Apache SIS has a many packages for SIS internal usage. Users should not use the classes in those package, because they may change in any SIS version without notice. Prior to SIS 1.4, those packages were identified by naming conventions. Anything starting with org.apache.sis.internal. is excluded from Javadoc and should be ignored by users. However this convention is unconvenient for SIS developers, because the internal part in package name cause related package to appear far from each other. As SIS become bigger, the internal packages became more and more confusing.

      Since JPMS modularisation, the internal naming convention is no longer needed. Instead the module-info.java file declare explicitly which packages are exported, and packages not in this list are invisible to users. Consequently we can rename the internal packages to something much closer to where they are used.

      Attachments

        1. ReplaceImports.xml
          7 kB
          Martin Desruisseaux

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: