Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284209

Replace remaining usages of 'a the' in source code

XMLWordPrintable

    • b24

      Address remaining usages of ‘a the’ in source code.

      I used the following regular expressions to search:
       • (?<!@param ?)\ba the\b
       • (?<!@param ?)\ba an\b
       • (?<!@param ?)\ban a\b

      The most generic search: (?<!@param ?)\b(?:[Tt]he|[Aa]n?) (?:the|an?)\b
      However, it produces lots of false positives: A a is commonly used in tests.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: