Skip to content

Commit

Permalink
refactor: make abstract implementations of interfaces public (#817)
Browse files Browse the repository at this point in the history
Needed to expose these abstract classes to generate typing stubs for NeqSimPython
  • Loading branch information
jorgenengelsen authored Sep 5, 2023
1 parent 8c9a452 commit cbafefb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/component/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import neqsim.thermo.phase.PhaseInterface;
import neqsim.util.database.NeqSimDataBase;

abstract class Component implements ComponentInterface {
public abstract class Component implements ComponentInterface {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(Component.class);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/component/ComponentEos.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/**
* @author Even Solbraa
*/
abstract class ComponentEos extends Component implements ComponentEosInterface {
public abstract class ComponentEos extends Component implements ComponentEosInterface {
private static final long serialVersionUID = 1000;

public double a = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/component/ComponentGE.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @author Even Solbraa
*/
abstract class ComponentGE extends Component implements ComponentGEInterface {
public abstract class ComponentGE extends Component implements ComponentGEInterface {
private static final long serialVersionUID = 1000;

protected double gamma = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/phase/Phase.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Even Solbraa
*/
abstract class Phase implements PhaseInterface {
public abstract class Phase implements PhaseInterface {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(Phase.class);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/phase/PhaseEos.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @author Even Solbraa
*/
abstract class PhaseEos extends Phase implements PhaseEosInterface {
public abstract class PhaseEos extends Phase implements PhaseEosInterface {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(PhaseEos.class);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/system/SystemEos.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author Even Solbraa
*/
abstract class SystemEos extends neqsim.thermo.system.SystemThermo {
public abstract class SystemEos extends neqsim.thermo.system.SystemThermo {
private static final long serialVersionUID = 1000;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/system/SystemThermo.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/**
* This is the base class of the System classes.
*/
abstract class SystemThermo implements SystemInterface {
public abstract class SystemThermo implements SystemInterface {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(SystemThermo.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @author Even Solbraa
*/
abstract class Flash extends BaseOperation {
public abstract class Flash extends BaseOperation {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(Flash.class);

Expand Down

0 comments on commit cbafefb

Please sign in to comment.