ObjectLedge JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
  • ObjectLedge
  • LEDGE-10

remove duplicated error checking from Rule class

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 0.2
  • Fix Version/s: None
  • Component/s: @testing, selector
  • Labels:
    None

Description

Rule class has low coverage, because it has much error checking that is really not necessary because the same errors would have been caught earlier by the schema checker.

Except for the top-level evaluateRule() method the schema-related error checking should be reduced to:

///CLOVER:OFF
throw new IllegalStateException();
///CLOVER:ON

after the last else if block in the method.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
  • Reviews
  • Builds
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Rafał Krzewski
Vote (0)
Watch (0)

Dates

  • Created:
    2004-01-28 09:19
    Updated:
    2008-01-29 14:38

Agile

  • View on Rapid Board
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for ObjectLedge . Try JIRA - bug tracking software for your team.