#268 Patch to solve formal charge matching

Needs_Review
closed
nobody
cdk-1.2.x (46)
9
2012-10-28
2010-09-08
No

Discussion

  • Andreas Truszkowski

    Instead of
    atom.getFormalCharge().intValue() != type.getFormalCharge().intValue()
    it would be better to use
    !atom.getFormalCharge().equals(type.getFormalCharge()
    for checking Integer equality.

     
  • Egon Willighagen

    Interesting suggestion... see updated patch.

     
  • Egon Willighagen

    Applied to cdk-1.2.x.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks