Nutch
  1. Nutch
  2. NUTCH-804

CrawlDatum.statNames can be modified

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.9
    • Component/s: fetcher
    • Labels:
      None

      Description

      public static final HashMap<Byte, String> statNames

      It's possible to modify the contents of this hash map from anywhere in the application, which could cause problems in unrelated places. Unless I'm missing something, there's no good reason to modify this map after it's initialized. So, it should either not be declared public, or be made read-only.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mike Baranczak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development