Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3799

Prevent ResourceNameIterator from iterate the same name twice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC4
    • 1.5-RC5
    • wicket
    • None

    Description

      To reproduce:

      public void test()
      {
      String path = "test_patch.test_extension";
      String style = null;
      String variation = "var";
      Locale locale = Locale.getDefault();
      String extensions = null;
      boolean strict = false;
      ResourceNameIterator resourceNameIterator = new ResourceNameIterator(path, style,
      variation, locale, extensions, strict);
      while (resourceNameIterator.hasNext())

      { System.out.println(resourceNameIterator.next()); }

      }

      Attachments

        Activity

          People

            pedrosans Pedro Santos
            pedrosans Pedro Santos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: