Skip to content

Commit

Permalink
Documentation updates and deprecation marking.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Oct 11, 2018
1 parent 4f37be8 commit 9a3990c
Show file tree
Hide file tree
Showing 92 changed files with 104 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static boolean isMajor(IIsotope atom) {

/**
* Clear the isotope information from atoms that are major isotopes (e.g.
* <sup>12</sup>C, <sub>1</sup>H, etc).
* <sup>12</sup>C, <sup>1</sup>H, etc).
* @param mol the molecule
*/
public static void clearMajorIsotopes(IAtomContainer mol) {
Expand All @@ -128,7 +128,7 @@ public static void clearMajorIsotopes(IAtomContainer mol) {

/**
* Clear the isotope information from istopes that are major (e.g.
* <sup>12</sup>C, <sub>1</sup>H, etc).
* <sup>12</sup>C, <sup>1</sup>H, etc).
* @param formula the formula
*/
public static void clearMajorIsotopes(IMolecularFormula formula) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
*
* @cdk.module standard
* @cdk.githash
* @deprecated use {@link GeometryUtil} moved for dependency reorganisation
*/
@Deprecated
public class GeometryTools {

private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(GeometryTools.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
* @cdk.module standard
* @cdk.githash
* @cdk.created 2004-10-19
* @deprecated Use {@link ShortestPaths}
*/
@Deprecated
public final class BFSShortestPath {

private BFSShortestPath() {} // ensure non-instantiability.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org._3pq.jgrapht.event.GraphVertexChangeEvent;
import org._3pq.jgrapht.graph.SimpleGraph;
import org._3pq.jgrapht.graph.Subgraph;
import org.openscience.cdk.interfaces.IAtomContainer;

/**
* Finds the biconnected components of a graph.
Expand All @@ -52,8 +53,10 @@
*
* @cdk.module standard
* @cdk.githash
*
* @deprecated Use {@link org.openscience.cdk.ringsearch.RingSearch} or
* {@link Cycles#markRingAtomsAndBonds(IAtomContainer)}
*/
@Deprecated
public class BiconnectivityInspector {

private List biconnectedSets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
*
* @cdk.module standard
* @cdk.githash
*
* @deprecated use {@link ShortestPaths}
*/
@Deprecated
public class MinimalPathIterator implements Iterator {

private Object sourceVertex, targetVertex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @cdk.githash
*
*/
@Deprecated
public class MoleculeGraphs {

// make class non-instantiable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
* @cdk.module smarts
* @cdk.githash
*/
@Deprecated
public final class SmartsStereoMatch implements Predicate<int[]> {

/** Query and target contains. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AliphaticAtom extends SMARTSAtom {

private static final long serialVersionUID = 5145049891214205622L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AliphaticSymbolAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AnyAtom extends SMARTSAtom {

private static final long serialVersionUID = -2061241755106011847L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AnyOrderQueryBond extends SMARTSBond {

private static final long serialVersionUID = -826100570208878645L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AromaticAtom extends SMARTSAtom {

private static final long serialVersionUID = -3345204886992669829L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AromaticOrSingleQueryBond extends SMARTSBond {

private static final long serialVersionUID = 6941220923564432716L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AromaticQueryBond extends SMARTSBond {

private static final long serialVersionUID = 6941220923564432716L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AromaticSymbolAtom extends SMARTSAtom {

public AromaticSymbolAtom(String symbol, IChemObjectBuilder builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class AtomicNumberAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class ChiralityAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.keyword SMARTS
* @cdk.githash
*/
@Deprecated
public final class ExplicitConnectionAtom extends SMARTSAtom {

/** Number of explicit connections. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class FormalChargeAtom extends SMARTSAtom {

private static final long serialVersionUID = 1203658471548492071L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @cdk.keyword SMARTS
*/

@Deprecated
public class HybridizationNumberAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class HydrogenAtom extends SMARTSAtom {

/** Creates a new instance. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class ImplicitHCountAtom extends SMARTSAtom {

private static final long serialVersionUID = 6752937431492584928L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class LogicalOperatorAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class LogicalOperatorBond extends SMARTSBond {

private static final long serialVersionUID = 7508020488830371461L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class MassAtom extends SMARTSAtom {

private final int mass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class NonCHHeavyAtom extends SMARTSAtom {

private static final long serialVersionUID = 5145049891214205622L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class OrderQueryBond extends SMARTSBond {

private static final long serialVersionUID = -5139538872961160661L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @cdk.keyword SMARTS
*/

@Deprecated
public class PeriodicGroupNumberAtom extends SMARTSAtom {

int groupNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
/**
* Matches atoms with a particular role in a reaction.
*/
@Deprecated
public class ReactionRoleQueryAtom extends SMARTSAtom {

public static final int ROLE_REACTANT = 0x1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public final class RecursiveSmartsAtom extends SMARTSAtom {

/** The IQueryAtomContainer created by parsing the recursive smarts */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class RingBond extends SMARTSBond {

private static final long serialVersionUID = -8670609649648985629L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class RingIdentifierAtom extends SMARTSAtom {

private static final long serialVersionUID = -6812146026923460637L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @cdk.keyword SMARTS
* @cdk.githash
*/
@Deprecated
public class RingMembershipAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public abstract class SMARTSAtom extends QueryAtom implements IQueryAtom {

public SMARTSAtom(IChemObjectBuilder builder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
* @author John May
* @cdk.module smarts
*/
@Deprecated
final class SMARTSAtomInvariants {

/** Property key to index the class by. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class SMARTSBond extends QueryBond implements IQueryBond {

private static final long serialVersionUID = 6164978147730140061L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @cdk.keyword SMARTS
* @cdk.githash
*/
@Deprecated
public final class SmallestRingAtom extends SMARTSAtom {

/** Ring size to check. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @cdk.module smarts
* @cdk.githash
*/
@Deprecated
public final class SmartsMatchers {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public class StereoBond extends SMARTSBond {

private final boolean unspecified;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public final class TotalConnectionAtom extends SMARTSAtom {

/** Total number of connections from an atom including H count. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @cdk.keyword SMARTS
* @cdk.githash
*/
@Deprecated
public final class TotalHCountAtom extends SMARTSAtom {

/** The total hydrogen count to match. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @cdk.githash
* @cdk.keyword SMARTS
*/
@Deprecated
public final class TotalRingConnectionAtom extends SMARTSAtom {

/** Number of rings. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @cdk.keyword SMARTS
* @cdk.githash
*/
@Deprecated
public final class TotalValencyAtom extends SMARTSAtom {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@
* @cdk.githash
* @cdk.keyword SMARTS
* @cdk.keyword substructure search
* @deprecated use {@link org.openscience.cdk.smarts.SmartsPattern}
*/
@Deprecated
public class SMARTSQueryTool {

private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(SMARTSQueryTool.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
*
* @see <a href="http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html">Daylight Theory Manual</a>
*/
@Deprecated
final class SmartsAtomAtomMapFilter implements Predicate<int[]> {

private final List<MappedPairs> mapped = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @cdk.githash
* @cdk.keyword SMARTS AST
*/
@Deprecated
class ASTAliphatic extends SimpleNode {

/**
Expand Down

0 comments on commit 9a3990c

Please sign in to comment.