Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1357

RuleBuildContext does not initialize package of rule

    XMLWordPrintable

    Details

      Description

      When the RuleBuildContext constructs a Query or Rule in its constructor, it does not pass in the package name as a parameter; consequently, Rule.getPackage() always returns null.

      In a related note, Rule.equals() will always return the same value as Object.equals() (owing to the second line), unless the rule is compared with itself. This makes it inconsistent with Rule.hashCode().

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                asox Adrian Sox
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: