Skip to content

Commit

Permalink
Refactored classes extendign Molecule to use AtomContainer
Browse files Browse the repository at this point in the history
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information
rajarshi authored and egonw committed Dec 11, 2011
1 parent a8c03af commit 2ccbe95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/org/openscience/cdk/Polymer.java
Expand Up @@ -49,7 +49,7 @@
* @cdk.created 2001-08-06
* @cdk.keyword polymer
*/
public class Polymer extends Molecule implements java.io.Serializable, IPolymer
public class Polymer extends AtomContainer implements java.io.Serializable, IPolymer
{
/**
* Determines if a de-serialized object is compatible with this class.
Expand Down
2 changes: 1 addition & 1 deletion src/main/org/openscience/cdk/silent/Polymer.java
Expand Up @@ -44,7 +44,7 @@
* @cdk.created 2001-08-06
* @cdk.keyword polymer
*/
public class Polymer extends Molecule implements java.io.Serializable, IPolymer
public class Polymer extends AtomContainer implements java.io.Serializable, IPolymer
{
/**
* Determines if a de-serialized object is compatible with this class.
Expand Down
5 changes: 1 addition & 4 deletions src/test/org/openscience/cdk/MockMolecule.java
Expand Up @@ -29,9 +29,6 @@

import javax.vecmath.Point3d;

import org.openscience.cdk.Atom;
import org.openscience.cdk.Molecule;

/**
* A molecule which looks like a cube. The center
* of the cube is located at (0,0,0) and the corners have a length of 2.
Expand All @@ -41,7 +38,7 @@
* @author Edgar Luttmann <edgar@uni-paderborn.de>
* @cdk.created 2001-08-09
*/
public class MockMolecule extends Molecule {
public class MockMolecule extends AtomContainer {

private static final long serialVersionUID = -3475592461591784619L;

Expand Down

0 comments on commit 2ccbe95

Please sign in to comment.