Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-2528

Change String.equals to Objects.equals(String,String) to avoid NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • Not Applicable
    • None
    • None
    • Patch

    Description

      Hello,
      I found that the String "execType" and "opcode" in the two files may have potential risk of
      NullPointerException since they are immediately used after initialization. One recommended API is Objects.equals(String,String) which can avoid this exception.

      Attachments

        1. 1.patch
          2 kB
          bd2019us

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bd2019us bd2019us
              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 - 40m
                  40m