Toggle navigation
Home
java.lang.String to org.apache.james.mailbox.store.mail.model.Username
No. of Instances - 21
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
addStatement.bind().setUUID(ID,attachmentId.asUUID()).setString(OWNER,owner)
to
addStatement.bind().setUUID(ID,attachmentId.asUUID()).setString(OWNER,owner.getValue())
Rename Method invocation
stream.map(row -> row.getString(OWNER))
to
stream.map(row -> row.getString(OWNER)).map(Username::fromRawValue)