Skip to content

Commit

Permalink
refact: rm getPhaseType and setPhaseType(int phaseType)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Feb 23, 2024
1 parent 909e7fc commit dcf8d1b
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/main/java/neqsim/thermo/phase/PhaseInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -1921,32 +1921,6 @@ public void setParams(PhaseInterface phase, double[][] alpha, double[][] Dij, do
*/
public void setType(PhaseType pt);

/**
* <p>
* Getter for property phasetype as int.
* </p>
*
* @return a int
* @deprecated Replace with {@link getType}
*/
@Deprecated
public default int getPhaseType() {
return getType().getValue();
}

/**
* <p>
* Setter for property phaseType.
* </p>
*
* @param phaseType Phasetype as int.
* @deprecated Replace with {@link setType}
*/
@Deprecated
public default void setPhaseType(int phaseType) {
setType(PhaseType.byValue(phaseType));
}

/**
* <p>
* Getter for property phaseTypeName.
Expand Down

0 comments on commit dcf8d1b

Please sign in to comment.