Skip to content

Commit

Permalink
Resolve unexpected </p> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Jan 20, 2017
1 parent c322a55 commit 5071a0a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion base/data/src/main/java/org/openscience/cdk/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ public Element(String symbol, Integer atomicNumber) {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Elements can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Element element = new Element("C");
* IsotopeFactory if = IsotopeFactory.getInstance(element.getNewBuilder());
* if.configure(element);
* </pre>
* </p>
*
* @return The atomic number of this element
*
Expand Down
6 changes: 3 additions & 3 deletions base/data/src/main/java/org/openscience/cdk/Isotope.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ public void setExactMass(Double exactMass) {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The NaturalAbundance value
*
Expand All @@ -199,12 +199,12 @@ public Double getNaturalAbundance() {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The ExactMass value
*
Expand All @@ -221,12 +221,12 @@ public Double getExactMass() {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The atomic mass of this element
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public interface IElement extends IChemObject {
* IsotopeFactory if = IsotopeFactory.getInstance(element.getNewBuilder());
* if.configure(element);
* </pre>
* </p>
*
* @return The atomic number of this element
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,12 +487,12 @@ public void setExactMass(Double exactMass) {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The NaturalAbundance value
*
Expand All @@ -508,12 +508,12 @@ public Double getNaturalAbundance() {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The ExactMass value
*
Expand All @@ -530,12 +530,12 @@ public Double getExactMass() {
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Isotopes can be configured by using
* the IsotopeFactory.configure() method:
* </p>
* <pre>
* Isotope isotope = new Isotope("C", 13);
* IsotopeFactory if = IsotopeFactory.getInstance(isotope.getNewBuilder());
* if.configure(isotope);
* </pre>
* </p>
*
* @return The atomic mass of this element
*
Expand All @@ -562,15 +562,14 @@ public void setMassNumber(Integer massNumber) {
/**
* Returns the atomic number of this element.
*
* <p>Once instantiated all field not filled by passing parameters
* <p>Once instantiated all field not filled by passing parameters
* to the constructor are null. Elements can be configured by using
* the IsotopeFactory.configure() method:
* the IsotopeFactory.configure() method:</p>
* <pre>
* Element element = new Element("C");
* IsotopeFactory if = IsotopeFactory.getInstance(element.getNewBuilder());
* if.configure(element);
* </pre>
* </p>
*
* @return The atomic number of this element
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
* exclude candidates for a substructure search in a database. They are also a
* means for determining the similarity of chemical structures.
*
* <p>A fingerprint is generated for an AtomContainer with this code:<pre>
* <p>A fingerprint is generated for an AtomContainer with this code:</p><pre>
* Molecule molecule = new Molecule();
* IFingerprinter fingerprinter =
* new HybridizationFingerprinter();
* BitSet fingerprint = fingerprinter.getFingerprint(molecule);
* fingerprint.size(); // returns 1024 by default
* fingerprint.length(); // returns the highest set bit
* </pre></p>
* </pre>
*
* <p>The FingerPrinter assumes that hydrogens are explicitly given!
* Furthermore, if pseudo atoms or atoms with malformed symbols are present,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

/**
* An atom container atom permutor that uses ranking and unranking to calculate
* the next permutation in the series.</p>
* the next permutation in the series.
*
* <p>Typical use:<pre>
* <p>Typical use:</p><pre>
* AtomContainerAtomPermutor permutor = new AtomContainerAtomPermutor(container);
* while (permutor.hasNext()) {
* IAtomContainer permutedContainer = permutor.next();
Expand Down

0 comments on commit 5071a0a

Please sign in to comment.