Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Commit

Permalink
Update 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarczuz committed May 28, 2019
1 parent 0d10e64 commit b27dced
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion .~lock.SDF.xlsx#

This file was deleted.

1 change: 1 addition & 0 deletions .~lock.Tutorial.xlsx#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
,chjunchi,chjunchi-U45JC,28.05.2019 12:37,file:///home/chjunchi/snap/libreoffice/120/.config/libreoffice/4;
Binary file modified SDF.xlsx
Binary file not shown.
Binary file modified SDF_OnDosis-2019-05-27-backup.db
Binary file not shown.
Binary file added SDF_OnDosis-2019-05-28-backup.db
Binary file not shown.
Binary file modified SDF_OnDosis.db
Binary file not shown.
Binary file added Toturial-2019-05-28-backup.db
Binary file not shown.
Binary file added Toturial.db
Binary file not shown.
Binary file added Tutorial.xlsx
Binary file not shown.
Binary file modified graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>Hazard</groupId>
<artifactId>HazardAnalysis</artifactId>
<version>2.5.0</version>
<version>2.5.1</version>
<packaging>jar</packaging>

<name>HazardAnalysis</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ public void run() {
headerCellCause = headerCause.createCell(13);
headerCellCause.setCellValue("Risk");
headerCellCause.setCellStyle(headerStyle);
headerCellCause = headerCause.createCell(14);
headerCellCause.setCellValue("Default Sorting");
headerCellCause.setCellStyle(headerStyle);
for (int j = 0; j < causeAndMitList.size(); j++) {
Row causes = sheetCauses.createRow(rowIndex);
rowIndex++;
Expand Down Expand Up @@ -456,6 +459,10 @@ public void run() {
}
cellCauses.setCellValue(risk);
cellCauses.setCellStyle(stylePostRisk);

cellCauses = causes.createCell(14);
cellCauses.setCellValue(j);
cellCauses.setCellStyle(style);
}
sheetCauses.autoSizeColumn(0);
sheetCauses.autoSizeColumn(1);
Expand All @@ -471,6 +478,7 @@ public void run() {
sheetCauses.autoSizeColumn(11);
sheetCauses.autoSizeColumn(12);
sheetCauses.autoSizeColumn(13);
sheetCauses.autoSizeColumn(14);
PrintSetup ps = sheet.getPrintSetup();
ps.setFitWidth((short) 1);
ps.setFitHeight((short) 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void handle(MouseEvent e) {
gp.add(t, 0, 0);
// gp.add(st, 0, 1);
// gp.add(rt, 0, 2);
// gp.add(sd, 0, 3);//
// gp.add(sd, 0, 3);//Unimplemented feature
dialog.getDialogPane().setContent(gp);
EventHandler<DialogEvent> eventHandler = new EventHandler<DialogEvent>() {
@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/hazard/HazardClasses/Cause.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class Cause extends Play {
private int hazardID;
private String risk, postRisk;
private String mitigation;
private double severity, probability, riskevaluation, postSeverity, postProbability, postRiskevaluation;;
private double severity, probability, riskevaluation, postSeverity, postProbability, postRiskevaluation;

public Cause(int id, String cause, int hazardID) {
super(id);
Expand Down

0 comments on commit b27dced

Please sign in to comment.