File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
stroom-core-shared/src/main/java/stroom/security/shared Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ public String getSubjectId() {
169
169
* See {@link User#getSubjectId()}
170
170
*/
171
171
public void setSubjectId (final String subjectId ) {
172
- this .subjectId = subjectId ;
172
+ this .subjectId = NullSafe . get ( subjectId , String :: trim ) ;
173
173
}
174
174
175
175
/**
@@ -187,7 +187,7 @@ public String getDisplayName() {
187
187
* See {@link User#getDisplayName()}
188
188
*/
189
189
public void setDisplayName (final String displayName ) {
190
- this .displayName = displayName ;
190
+ this .displayName = NullSafe . get ( displayName , String :: trim ) ;
191
191
}
192
192
193
193
/**
@@ -208,7 +208,7 @@ public String getFullName() {
208
208
* See {@link User#getFullName()}
209
209
*/
210
210
public void setFullName (final String fullName ) {
211
- this .fullName = fullName ;
211
+ this .fullName = NullSafe . get ( fullName , String :: trim ) ;
212
212
}
213
213
214
214
/**
You can’t perform that action at this time.
0 commit comments