Skip to content

Commit

Permalink
refact: remove redundant method definition
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Feb 27, 2024
1 parent afe626b commit db6cb52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,4 @@ public PhasePureComponentSolid clone() {

return clonedPhase;
}

/** {@inheritDoc} */
@Override
public void init(double totalNumberOfMoles, int numberOfComponents, int initType, PhaseType pt,
double beta) {
super.init(totalNumberOfMoles, numberOfComponents, initType, pt, beta);
setType(PhaseType.SOLID);
}
}
1 change: 1 addition & 0 deletions src/main/java/neqsim/thermo/phase/PhaseSolid.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public PhaseSolid clone() {
} catch (Exception ex) {
logger.error("Cloning failed.", ex);
}

return clonedPhase;
}

Expand Down

0 comments on commit db6cb52

Please sign in to comment.