Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Release
    • Component/s: framework
    • Labels:
      None

      Description

      • CatalinaContainer.java:248, RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
        RCN: Redundant nullcheck of clusterProps, which is known to be non-null in org.apache.ofbiz.catalina.container.CatalinaContainer.prepareTomcatClustering(Host, ContainerConfig$Configuration$Property)

      This method contains a redundant check of a known non-null value against the constant null.

        Activity

        Hide
        Dennis Balkir Dennis Balkir added a comment -
        • Diamond Operators fixed
        • deleted unnecessary else-blocks
        • Line 247: deleted unnecessary nullcheck of clusterProps
        Show
        Dennis Balkir Dennis Balkir added a comment - Diamond Operators fixed deleted unnecessary else-blocks Line 247: deleted unnecessary nullcheck of clusterProps
        Hide
        mbrohl Michael Brohl added a comment -

        Thanks Dennis,

        your patch is in trunk r1811432.

        Show
        mbrohl Michael Brohl added a comment - Thanks Dennis, your patch is in trunk r1811432.

          People

          • Assignee:
            mbrohl Michael Brohl
            Reporter:
            Dennis Balkir Dennis Balkir
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development