Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Oct 25, 2024
1 parent 02ebee9 commit 1f60965
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public Standard_ISO6976(String name, String description, SystemInterface thermoS
M[i] = this.thermoSystem.getPhase(0).getComponent(i).getMolarMass();
dataSet.next();
} catch (Exception ex2) {
logger.error(ex2.getMessage(), ex2);
logger.error(ex2.getMessage());
}
componentsNotDefinedByStandard
.add("this.thermoSystem.getPhase(0).getComponent(i).getComponentName()");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public Standard_ISO6976_2016(SystemInterface thermoSystem) {
M[i] = this.thermoSystem.getPhase(0).getComponent(i).getMolarMass();
dataSet.next();
} catch (Exception er) {
logger.error(er.getMessage(), er);
logger.error(er.getMessage());
}
componentsNotDefinedByStandard
.add("this.thermoSystem.getPhase(0).getComponent(i).getComponentName()");
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/component/ComponentSolid.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public double fugcoef2(PhaseInterface phase1) {
try {
refPhase.init(refPhase.getNumberOfMolesInPhase(), 1, 1, PhaseType.byValue(0), 1.0);
} catch (Exception ex) {
logger.error(ex.getMessage(), ex);
logger.error(ex.getMessage());
}
refPhase.getComponent(0).fugcoef(refPhase);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/neqsim/thermo/phase/PhaseSolid.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void init(double totalNumberOfMoles, int numberOfComponents, int initType
super.init(totalNumberOfMoles, numberOfComponents, initType, pt, beta);
getDensityTemp();
} catch (Exception ex) {
logger.error(ex.getMessage(), ex);
logger.error(ex.getMessage());
}
setType(PhaseType.SOLID);
}
Expand Down

0 comments on commit 1f60965

Please sign in to comment.