Sebastian Stenzel 3 anni fa
parent
commit
210050d9d5

+ 1 - 1
pom.xml

@@ -24,7 +24,7 @@
 		<project.jdk.version>16</project.jdk.version>
 
 		<!-- cryptomator dependencies -->
-		<cryptomator.cryptofs.version>2.1.0-beta5</cryptomator.cryptofs.version>
+		<cryptomator.cryptofs.version>2.1.0-beta6</cryptomator.cryptofs.version>
 		<cryptomator.integrations.version>1.0.0-rc1</cryptomator.integrations.version>
 		<cryptomator.integrations.win.version>1.0.0-beta2</cryptomator.integrations.win.version>
 		<cryptomator.integrations.mac.version>1.0.0-beta2</cryptomator.integrations.mac.version>

+ 1 - 1
src/main/java/org/cryptomator/ui/health/CheckDetailController.java

@@ -68,7 +68,7 @@ public class CheckDetailController implements FxController {
 	}
 
 	private Function<Stream<? extends DiagnosticResult>, Long> countSeverity(DiagnosticResult.Severity severity) {
-		return stream -> stream.filter(item -> severity.equals(item.getServerity())).count();
+		return stream -> stream.filter(item -> severity.equals(item.getSeverity())).count();
 	}
 
 	@FXML

+ 1 - 1
src/main/java/org/cryptomator/ui/health/ReportWriter.java

@@ -72,7 +72,7 @@ public class ReportWriter {
 					case SUCCEEDED -> {
 						writer.write("STATUS: SUCCESS\nRESULTS:\n");
 						for (var result : task.results()) {
-							writer.write(REPORT_CHECK_RESULT.formatted(result.getServerity(), result.toString()));
+							writer.write(REPORT_CHECK_RESULT.formatted(result.getSeverity(), result.toString()));
 						}
 					}
 					case CANCELLED -> writer.write("STATUS: CANCELED\n");

+ 1 - 1
src/main/java/org/cryptomator/ui/health/ResultFixApplier.java

@@ -33,7 +33,7 @@ class ResultFixApplier {
 	}
 
 	public void fix(DiagnosticResult result) {
-		Preconditions.checkArgument(result.getServerity() == DiagnosticResult.Severity.WARN, "Unfixable result");
+		Preconditions.checkArgument(result.getSeverity() == DiagnosticResult.Severity.WARN, "Unfixable result");
 		try (var masterkeyClone = masterkey.clone(); //
 			 var cryptor = vaultConfig.getCipherCombo().getCryptorProvider(csprng).withKey(masterkeyClone)) {
 			result.fix(vaultPath, vaultConfig, masterkeyClone, cryptor);

+ 1 - 1
src/main/java/org/cryptomator/ui/health/ResultListCellController.java

@@ -37,7 +37,7 @@ public class ResultListCellController implements FxController {
 		actionButton.setVisible(false);
 		//TODO: see comment in case WARN
 		actionButton.setManaged(false);
-		switch (newVal.getServerity()) {
+		switch (newVal.getSeverity()) {
 			case INFO -> {
 				iconView.setGlyph(FontAwesome5Icon.INFO_CIRCLE);
 				iconView.getStyleClass().add("glyph-icon-muted");