Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2687

Missing quotation mark in example of code

    XMLWordPrintable

Details

    Description

      Development Guide -> 3. Class loading and modules -> 3.6.2. Programmatically Iterate Resources in a Deployment

      Example: Find all files named "messages.properties" in your deployment and imports

      ModuleClassLoader moduleClassLoader = (ModuleClassLoader) TargetClass.class.getClassLoader();
      Module module = moduleClassLoader.getModule();
      Iterator<Resource> moduleResources = module.iterateResources(PathFilters.match("**/message.properties));
                                                                                                           ^ --- missing "
      

      **/message.properties should be enclosed in ", but closing " is missing

      n_2117183_development-guide_version_7.0.beta_edition_1.0_release_0-revision_7644143

      Attachments

        Activity

          People

            rhn-support-pnag Priyanka Nag
            msimka@redhat.com Martin Simka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: