Skip to content

Commit

Permalink
Use the factory to not depend on an implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Rajarshi  Guha <rajarshi.guha@gmail.com>
  • Loading branch information
egonw authored and rajarshi committed Aug 29, 2010
1 parent 8ec9ad4 commit e2c8329
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/org/openscience/cdk/CDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@

import org.openscience.cdk.annotations.TestClass;
import org.openscience.cdk.annotations.TestMethod;
import org.openscience.cdk.tools.LoggingTool;
import org.openscience.cdk.tools.ILoggingTool;
import org.openscience.cdk.tools.LoggingToolFactory;

/**
* Helper class to provide general information about this CDK library.
Expand All @@ -37,7 +38,7 @@
@TestClass("org.openscience.cdk.CDKTest")
public class CDK {

private static LoggingTool logger = new LoggingTool(CDK.class);
private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(CDK.class);

/**
* Returns the version of this CDK library.
Expand Down

0 comments on commit e2c8329

Please sign in to comment.