Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2377

Remove Reserved Words Initialization Blocks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.2
    • Component/s: java
    • Labels:
      None

      Description

        private static final Set<String> FIELD_RESERVED = new HashSet<>();
        static {
          Collections.addAll(FIELD_RESERVED, "name", "type", "doc", "default", "aliases");
        }
      

      There are several of these patterns. Nit. Remove the static initialization blocks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                belugabehr David Mollitor
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: