Skip to content

Commit db6cb52

Browse files
committed
refact: remove redundant method definition
1 parent afe626b commit db6cb52

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/main/java/neqsim/thermo/phase/PhasePureComponentSolid.java

-8
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,4 @@ public PhasePureComponentSolid clone() {
3939

4040
return clonedPhase;
4141
}
42-
43-
/** {@inheritDoc} */
44-
@Override
45-
public void init(double totalNumberOfMoles, int numberOfComponents, int initType, PhaseType pt,
46-
double beta) {
47-
super.init(totalNumberOfMoles, numberOfComponents, initType, pt, beta);
48-
setType(PhaseType.SOLID);
49-
}
5042
}

src/main/java/neqsim/thermo/phase/PhaseSolid.java

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public PhaseSolid clone() {
3838
} catch (Exception ex) {
3939
logger.error("Cloning failed.", ex);
4040
}
41+
4142
return clonedPhase;
4243
}
4344

0 commit comments

Comments
 (0)