Skip to content

Commit

Permalink
Update Elements.java
Browse files Browse the repository at this point in the history
Adding a message that the class is generated in the `cdk-build-utils` and static instances are for backwards compatibility.
  • Loading branch information
John May committed Jan 18, 2014
1 parent 6dece19 commit 90f532d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/org/openscience/cdk/config/Elements.java
Expand Up @@ -30,7 +30,8 @@

/**
* Enumeration of chemical elements. Data is taken from the Blue Obelisk Data
* Repository, version 3.
* Repository, version 3. This enumeration is auto-generated with utilities
* found in the 'cdk-build-utils' project.
*
* @author egonw
* @author john may
Expand Down Expand Up @@ -376,6 +377,7 @@ public static Elements ofString(final String str) {
return e;
}

/** These instances are for backards compatability. */
public final static IElement DUMMY = Unknown.toIElement();
public final static IElement HYDROGEN = Hydrogen.toIElement();
public final static IElement HELIUM = Helium.toIElement();
Expand Down

0 comments on commit 90f532d

Please sign in to comment.