java.lang.String to org.apache.james.core.User
No. of Instances - 123
No. of Commits - 6
No. of Projects - {'james-project'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
- Other
- user to user
- user + '/' to FILE_NAME_QUOTA
- usersRepository.getUser(mailAddress) to usersRepository.getUser(mailAddress)
- Add or Remove Method invocation
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- JOE to JOE.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- BOB to BOB.asString()
- mappedAddress to rewrittenUser.asString()
- mappedAddress to rewrittenUser.asString()
- rowOptional.map(row -> new ActiveScriptInfo(row.getString(SCRIPT_NAME),row.getTimestamp(DATE))) to rowOptional.map(row -> new ActiveScriptInfo(new ScriptName(row.getString(SCRIPT_NAME)),row.getTimestamp(DATE)))
- username to user.asString()
- username to user.asString()
- cassandraAsyncExecutor.executeSingleRow(selectUserQuotaStatement.bind().setString(CassandraSieveQuotaTable.USER_NAME,user)) to cassandraAsyncExecutor.executeSingleRow(selectUserQuotaStatement.bind().setString(CassandraSieveQuotaTable.USER_NAME,user.asString()))
- optional.map(row -> row.getLong(CassandraSieveQuotaTable.QUOTA)) to optional.map(row -> QuotaSize.size(row.getLong(CassandraSieveQuotaTable.QUOTA)))
- cassandraAsyncExecutor.executeSingleRow(selectSpaceUsedByUserStatement.bind().setString(CassandraSieveSpaceTable.USER_NAME,user)) to cassandraAsyncExecutor.executeSingleRow(selectSpaceUsedByUserStatement.bind().setString(CassandraSieveSpaceTable.USER_NAME,user.asString()))
- updateSpaceUsedStatement.bind().setLong(CassandraSieveSpaceTable.SPACE_USED,spaceUsed).setString(CassandraSieveSpaceTable.USER_NAME,user) to updateSpaceUsedStatement.bind().setLong(CassandraSieveSpaceTable.SPACE_USED,spaceUsed).setString(CassandraSieveSpaceTable.USER_NAME,user.asString())
- selectScriptStatement.bind().setString(USER_NAME,user).setString(SCRIPT_NAME,name) to selectScriptStatement.bind().setString(USER_NAME,user.asString()).setString(SCRIPT_NAME,name.getValue())
- updateUserQuotaStatement.bind().setLong(CassandraSieveQuotaTable.QUOTA,quota).setString(CassandraSieveQuotaTable.USER_NAME,user) to updateUserQuotaStatement.bind().setLong(CassandraSieveQuotaTable.QUOTA,quota.asLong()).setString(CassandraSieveQuotaTable.USER_NAME,user.asString())
- updateScriptActivationStatement.bind().setString(USER_NAME,user).setString(SCRIPT_NAME,scriptName).setBool(IS_ACTIVE,active) to updateScriptActivationStatement.bind().setString(USER_NAME,user.asString()).setString(SCRIPT_NAME,scriptName.getValue()).setBool(IS_ACTIVE,active)
- cassandraAsyncExecutor.execute(selectScriptsStatement.bind().setString(USER_NAME,user)) to cassandraAsyncExecutor.execute(selectScriptsStatement.bind().setString(USER_NAME,user.asString()))
- resultSet.all().stream().map(row -> new ScriptSummary(row.getString(SCRIPT_NAME),row.getBool(IS_ACTIVE))).collect(Guavate.toImmutableList()) to resultSet.all().stream().map(row -> new ScriptSummary(new ScriptName(row.getString(SCRIPT_NAME)),row.getBool(IS_ACTIVE))).collect(Guavate.toImmutableList())
- getSieveRootDirectory() to getUserDirectory(user)
- deleteUserQuotaStatement.bind().setString(CassandraSieveQuotaTable.USER_NAME,user) to deleteUserQuotaStatement.bind().setString(CassandraSieveQuotaTable.USER_NAME,user.asString())
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- USER to USER.asString()
- deleteScriptStatement.bind().setString(USER_NAME,user).setString(SCRIPT_NAME,name) to deleteScriptStatement.bind().setString(USER_NAME,user.asString()).setString(SCRIPT_NAME,name.getValue())
- join to contains
- join to isEmpty
- join to isEmpty
- insertScriptStatement.bind().setString(USER_NAME,user).setString(SCRIPT_NAME,script.getName()).setString(SCRIPT_CONTENT,script.getContent()).setBool(IS_ACTIVE,script.isActive()).setLong(SIZE,script.getSize()) to insertScriptStatement.bind().setString(USER_NAME,user.asString()).setString(SCRIPT_NAME,script.getName().getValue()).setString(SCRIPT_CONTENT,script.getContent().getValue()).setBool(IS_ACTIVE,script.isActive()).setLong(SIZE,script.getSize())
- USER_A to USER_A.asString()
- USER_A to USER_A.asString()
- USER_A to USER_A.asString()
- assertThat(sieveRepository.getQuota(USER_A)) to assertThat(sieveRepository.getQuota(USER_A).asLong())
- USER_A to USER_A.asString()
- USER_A to USER_A.asString()
- USER_A to USER_A.asString()
- USER_A to USER_A.asString()
- Throwing.supplier(() -> scanMailWithAdditionalHeaders(message,"User: " + user)).sneakyThrow() to Throwing.supplier(() -> scanMailWithAdditionalHeaders(message,"User: " + user.asString())).sneakyThrow()
- Rename Variable
- mappedAddress to rewrittenUser
- mappedAddress to rewrittenUser
- username to user
- username to user