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

Fixed a bug & minor changes

    XMLWordPrintableJSON

Details

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

    Description

      1. Fixed a bug
      Syntax error

      map.keySet().iterator(); (1.8 syntax) -> new ArrayList<>(map.keySet()).iterator();
      

      2. Minor changes

      if (curToken != null && curToken == usedToken) {
          return true;
      }
      
      change to
      
      return curToken != null && curToken == usedToken;
      
      if (isReged == null) {
          return true;
      }
      
      change to
      
      return isReged == null;
      
      List<String> partKeys = new ArrayList<>();
      partKeys.addAll(partitionUsedMap.keySet());
      
      change to
      
      List<String> partKeys = new ArrayList<>(partitionUsedMap.keySet());
      

      Attachments

        Activity

          People

            viviel viviel
            viviel viviel
            Votes:
            0 Vote for this issue
            Watchers:
            1 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