6060 * </ul>
6161 *
6262 * @author Sam Adams
63- *
6463 * @cdk.module inchi
6564 * @cdk.githash
6665 */
@@ -71,7 +70,7 @@ public class InChIGeneratorFactory {
7170 /**
7271 * If the CDK aromaticity flag should be ignored and the bonds treated solely as single and double bonds.
7372 */
74- private boolean ignoreAromaticBonds = true ;
73+ private boolean ignoreAromaticBonds = true ;
7574
7675 /**
7776 * <p>Constructor for InChIGeneratorFactory. Ensures that native code
@@ -94,7 +93,7 @@ private InChIGeneratorFactory() throws CDKException {
9493 *
9594 * @return the one <code>InChIGeneratorFactory</code> instance
9695 * @throws CDKException if unable to load native code when attempting
97- * to create the factory
96+ * to create the factory
9897 */
9998 public static InChIGeneratorFactory getInstance () throws CDKException {
10099 synchronized (InChIGeneratorFactory .class ) {
@@ -110,14 +109,14 @@ public static InChIGeneratorFactory getInstance() throws CDKException {
110109 * INCHI_BOND_TYPE.ALTERN is considered special in contrast to single, double, and triple bonds,
111110 * and is not bulletproof. If the molecule has clearly defined single and double bonds,
112111 * the option can be used to force the class not to use the alternating bond type.
113- *
112+ * <p>
114113 * http://www.inchi-trust.org/fileadmin/user_upload/html/inchifaq/inchi-faq.html#16.3
115114 *
116115 * @param ignore if aromatic bonds should be treated as bonds of type single and double
117116 * @deprecated "the use of aromatic bonds is strongly discouraged" - InChI
118- * FAQ, the InChI will fail for many compounds if ignore
119- * aromatic bonds is not enabled and the compound have aromatic
120- * flags.
117+ * FAQ, the InChI will fail for many compounds if ignore
118+ * aromatic bonds is not enabled and the compound have aromatic
119+ * flags.
121120 */
122121 @ Deprecated
123122 public void setIgnoreAromaticBonds (boolean ignore ) {
@@ -139,7 +138,7 @@ public boolean getIgnoreAromaticBonds() {
139138 * generated by this method, please use {@link #getInChIGenerator(IAtomContainer, List)}
140139 * with no options specified if you would like to generate AuxInfo.
141140 *
142- * @param container AtomContainer to generate InChI for.
141+ * @param container AtomContainer to generate InChI for.
143142 * @return the InChI generator object
144143 * @throws CDKException if the generator cannot be instantiated
145144 */
@@ -150,8 +149,8 @@ public InChIGenerator getInChIGenerator(IAtomContainer container) throws CDKExce
150149 /**
151150 * Gets InChI generator for CDK IAtomContainer.
152151 *
153- * @param container AtomContainer to generate InChI for.
154- * @param options String of options for InChI generation.
152+ * @param container AtomContainer to generate InChI for.
153+ * @param options String of options for InChI generation.
155154 * @return the InChI generator object
156155 * @throws CDKException if the generator cannot be instantiated
157156 */
@@ -162,10 +161,10 @@ public InChIGenerator getInChIGenerator(IAtomContainer container, String options
162161 /**
163162 * Gets InChI generator for CDK IAtomContainer.
164163 *
165- * @param container AtomContainer to generate InChI for.
166- * @param options List of options (net.sf.jniinchi.INCHI_OPTION) for InChI generation.
164+ * @param container AtomContainer to generate InChI for.
165+ * @param options List of options (net.sf.jniinchi.INCHI_OPTION) for InChI generation.
167166 * @return the InChI generator object
168- * @throws CDKException if the generator cannot be instantiated
167+ * @throws CDKException if the generator cannot be instantiated
169168 */
170169 public InChIGenerator getInChIGenerator (IAtomContainer container , List <INCHI_OPTION > options ) throws CDKException {
171170 if (options == null ) throw new IllegalArgumentException ("Null options" );
@@ -175,10 +174,10 @@ public InChIGenerator getInChIGenerator(IAtomContainer container, List<INCHI_OPT
175174 /**
176175 * Gets structure generator for an InChI string.
177176 *
178- * @param inchi InChI to generate structure from.
177+ * @param inchi InChI to generate structure from.
179178 * @param builder the builder to use
180- * @return the InChI structure generator object
181- * @throws CDKException if the generator cannot be instantiated
179+ * @return the InChI structure generator object
180+ * @throws CDKException if the generator cannot be instantiated
182181 */
183182 public InChIToStructure getInChIToStructure (String inchi , IChemObjectBuilder builder ) throws CDKException {
184183 return (new InChIToStructure (inchi , builder ));
@@ -187,11 +186,11 @@ public InChIToStructure getInChIToStructure(String inchi, IChemObjectBuilder bui
187186 /**
188187 * <p>Gets structure generator for an InChI string.
189188 *
190- * @param inchi InChI to generate structure from.
189+ * @param inchi InChI to generate structure from.
191190 * @param builder the builder to employ
192- * @param options String of options for structure generation.
193- * @return the InChI structure generator object
194- * @throws CDKException if the generator cannot be instantiated
191+ * @param options String of options for structure generation.
192+ * @return the InChI structure generator object
193+ * @throws CDKException if the generator cannot be instantiated
195194 */
196195 public InChIToStructure getInChIToStructure (String inchi , IChemObjectBuilder builder , String options )
197196 throws CDKException {
@@ -201,11 +200,11 @@ public InChIToStructure getInChIToStructure(String inchi, IChemObjectBuilder bui
201200 /**
202201 * <p>Gets structure generator for an InChI string.
203202 *
204- * @param inchi InChI to generate structure from.
205- * @param options List of options (net.sf.jniinchi.INCHI_OPTION) for structure generation.
203+ * @param inchi InChI to generate structure from.
204+ * @param options List of options (net.sf.jniinchi.INCHI_OPTION) for structure generation.
206205 * @param builder the builder to employ
207- * @return the InChI structure generator object
208- * @throws CDKException if the generator cannot be instantiated
206+ * @return the InChI structure generator object
207+ * @throws CDKException if the generator cannot be instantiated
209208 */
210209 public InChIToStructure getInChIToStructure (String inchi , IChemObjectBuilder builder , List <String > options )
211210 throws CDKException {
0 commit comments