Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Compile fix: get a builder from the input parameter
  • Loading branch information
egonw committed Aug 20, 2011
1 parent df6ea2e commit 98f16f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/org/openscience/cdk/io/RGroupQueryReader.java
Expand Up @@ -37,7 +37,6 @@
import java.util.Map;
import java.util.StringTokenizer;

import org.openscience.cdk.DefaultChemObjectBuilder;
import org.openscience.cdk.annotations.TestClass;
import org.openscience.cdk.annotations.TestMethod;
import org.openscience.cdk.exception.CDKException;
Expand Down Expand Up @@ -180,7 +179,7 @@ public <T extends IChemObject> T read(T object) throws CDKException {
* @throws CDKException
*/
private RGroupQuery parseRGFile(RGroupQuery rGroupQuery) throws CDKException {
IChemObjectBuilder defaultChemObjectBuilder = DefaultChemObjectBuilder.getInstance();
IChemObjectBuilder defaultChemObjectBuilder = rGroupQuery.getBuilder();
String line = "";
int lineCount = 0;
String eol = System.getProperty("line.separator");
Expand Down

0 comments on commit 98f16f8

Please sign in to comment.