소스 검색

remove unnecessary annotation

[ci skip]
Sebastian Stenzel 1 년 전
부모
커밋
1a6836dac6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/org/cryptomator/common/settings/UiTheme.java

+ 1 - 2
src/main/java/org/cryptomator/common/settings/UiTheme.java

@@ -2,12 +2,11 @@ package org.cryptomator.common.settings;
 
 import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
 import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonProperty;
 import org.apache.commons.lang3.SystemUtils;
 
 @JsonFormat(shape = JsonFormat.Shape.STRING)
 public enum UiTheme {
-	@JsonEnumDefaultValue @JsonProperty LIGHT("preferences.interface.theme.light"), //
+	@JsonEnumDefaultValue LIGHT("preferences.interface.theme.light"), //
 	DARK("preferences.interface.theme.dark"), //
 	AUTOMATIC("preferences.interface.theme.automatic");