Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3364

MetaDataReader exposes a private exception class on the public API

    XMLWordPrintableJSON

Details

    Description

      MetaDataReader can be useful outside the Metatype bundle and is part of the bundle's public API. But some public methods of MetaDataReader expose XmlPullParserException which is a private class (from the embedded xmlpull):

      public MetaData parse( URL url ) throws IOException, XmlPullParserException
      public MetaData parse( InputStream ins ) throws IOException, XmlPullParserException

      This prohibits the use of MetaDataReader from outside the Metatype bundle.

      Attachments

        1. xmlpullparser-visibility-patch.diff
          11 kB
          Jeremias Maerki

        Activity

          People

            fmeschbe Felix Meschberger
            jeremias@apache.org Jeremias Maerki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: