Permalink
Browse files

Refactored classes extendign Molecule to use AtomContainer

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information...
1 parent a8c03af commit 2ccbe955c0e32989c73db0902141a06f7e6f7b68 @rajarshi rajarshi committed with egonw Dec 10, 2011
@@ -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.
@@ -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.
@@ -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.
@@ -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;

0 comments on commit 2ccbe95

Please sign in to comment.