File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
services/localega-tsd-proxy/src/main/java/no/elixir/fega/ltp/dto Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package no .elixir .fega .ltp .dto ;
22
3+ import com .fasterxml .jackson .annotation .JsonIgnore ;
34import com .fasterxml .jackson .annotation .JsonProperty ;
45import lombok .Data ;
56import lombok .ToString ;
@@ -14,7 +15,7 @@ public class FileDescriptor {
1415 @ ToString .Exclude
1516 private String user ;
1617
17- @ JsonProperty ( "user" )
18+ @ JsonIgnore
1819 @ ToString .Include (name = "user" )
1920 private String maskUser () {
2021 return Masker .maskUsername (user );
@@ -24,7 +25,7 @@ private String maskUser() {
2425 @ ToString .Exclude
2526 private String filePath ;
2627
27- @ JsonProperty ( "filepath" )
28+ @ JsonIgnore
2829 @ ToString .Include (name = "filepath" )
2930 private String maskFilepath () {
3031 return Masker .maskEmailInPath (filePath );
You can’t perform that action at this time.
0 commit comments