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

Prevent ResourceNameIterator from iterate the same name twice

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC4
    • Fix Version/s: 1.5-RC5
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: