Skip to content

Commit dcf8d1b

Browse files
committed
refact: rm getPhaseType and setPhaseType(int phaseType)
1 parent 909e7fc commit dcf8d1b

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

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

-26
Original file line numberDiff line numberDiff line change
@@ -1921,32 +1921,6 @@ public void setParams(PhaseInterface phase, double[][] alpha, double[][] Dij, do
19211921
*/
19221922
public void setType(PhaseType pt);
19231923

1924-
/**
1925-
* <p>
1926-
* Getter for property phasetype as int.
1927-
* </p>
1928-
*
1929-
* @return a int
1930-
* @deprecated Replace with {@link getType}
1931-
*/
1932-
@Deprecated
1933-
public default int getPhaseType() {
1934-
return getType().getValue();
1935-
}
1936-
1937-
/**
1938-
* <p>
1939-
* Setter for property phaseType.
1940-
* </p>
1941-
*
1942-
* @param phaseType Phasetype as int.
1943-
* @deprecated Replace with {@link setType}
1944-
*/
1945-
@Deprecated
1946-
public default void setPhaseType(int phaseType) {
1947-
setType(PhaseType.byValue(phaseType));
1948-
}
1949-
19501924
/**
19511925
* <p>
19521926
* Getter for property phaseTypeName.

0 commit comments

Comments
 (0)