Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch20170807 #353

Merged
merged 7 commits into from Aug 7, 2017
Merged

Patch20170807 #353

merged 7 commits into from Aug 7, 2017

Conversation

k-ujihara
Copy link
Contributor

Add input.close() to GhemicalMMReader.close()
Fix FormulaRuleTest.testValidate_IMolecularFormula()
Fix some typo

Copy link
Member

@johnmay johnmay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build fails

@@ -92,7 +92,9 @@ public void setReader(InputStream input) throws CDKException {
}

@Override
public void close() {}
public void close() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build failed: Need to throw IOException or catch it

public void close(){
  try {
    if (input != null) input.close()
  } catch (IOException e) {
    // ignored
  }
}

Sorry. I committed wrong one by mistake. Please review it again.
@johnmay johnmay merged commit 4cf8835 into cdk:master Aug 7, 2017
@johnmay
Copy link
Member

johnmay commented Aug 7, 2017

Thanks

@k-ujihara k-ujihara deleted the Patch20170731 branch August 26, 2017 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants