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

Remove Reserved Words Initialization Blocks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.0
    • 1.9.2
    • java
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: