Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-98

Fix typo & Simplify 'instanceof' judgment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      1. Fix type
      ared -> area
      partionStr -> partitionStr
      getPartitonByKey -> getPartitionByKey

      2. Simplify 'instanceof' judgment
      This code

      if (e instanceof IOException || e instanceof Exception) {
          //
      }
      

      It can be replaced by the following code

      if (e instanceof Exception) {
          //
      }
      

      Attachments

        Activity

          People

            viviel viviel
            viviel viviel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m