Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10051

Avoid WARN at JAX-RS app init

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7.1
    • Component/s: Excel Export
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      In both AbstractImporterExecutor and AbstractJaxRSImporterExecutor:
      public void kill() becomes public String kill()

      Show
      In both AbstractImporterExecutor and AbstractJaxRSImporterExecutor: public void kill() becomes public String kill()

      Description

      Importer: make the kill() method return a String to avoid WARN at JAX-RS Application initialization (and to have the method result message).

      This is the WARN we get:

      WARN  [com.sun.jersey.spi.inject.Errors] The following warnings have been detected with resource and/or provider classes:
      WARNING: A HTTP GET method, public void org.nuxeo.ecm.platform.importer.executor.jaxrs.AbstractJaxRSImporterExecutor.kill(), MUST return a non-void type.
      

        Attachments

          Activity

            People

            • Assignee:
              ataillefer Antoine Taillefer
              Reporter:
              ataillefer Antoine Taillefer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h