Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-967

Remove a meaningless checking condition.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.7.0
    • 0.7.1
    • bsp core

    Description

      split() of String in RPC and AsyncRPC returns the array of strings. So checking null condition is meaningless.

      String[] names = className.split("\\.", -1);
      if (names == null || names.length == 0) {
        return className;
      }
      

      Attachments

        1. HAMA-967.patch
          1 kB
          JongYoon Lim

        Activity

          People

            seedengine JongYoon Lim
            seedengine JongYoon Lim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: