Toggle navigation
Home
java.util.UUID to java.lang.Iterable<java.util.UUID>
No. of Instances - 8
No. of Commits - 2
No. of Projects - {'killbill'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
customFieldId
to
cur.toString()
customFieldId.toString()
to
cur
Update Anonymous class
{ @Override public Void inTransaction( final EntitySqlDaoWrapperFactory entitySqlDaoWrapperFactory) throws Exception { final CustomFieldSqlDao sqlDao=entitySqlDaoWrapperFactory.become(CustomFieldSqlDao.class); final CustomFieldModelDao customField=sqlDao.getById(customFieldId.toString(),context); sqlDao.markTagAsDeleted(customFieldId.toString(),context); postBusEventFromTransaction(customField,customField,ChangeType.DELETE,entitySqlDaoWrapperFactory,context); return null; } }
to
{ @Override public Void inTransaction( final EntitySqlDaoWrapperFactory entitySqlDaoWrapperFactory) throws Exception { final CustomFieldSqlDao sqlDao=entitySqlDaoWrapperFactory.become(CustomFieldSqlDao.class); for ( final UUID cur : customFieldIds) { final CustomFieldModelDao customField=sqlDao.getById(cur.toString(),context); if (customField != null) { sqlDao.markTagAsDeleted(cur.toString(),context); postBusEventFromTransaction(customField,customField,ChangeType.DELETE,entitySqlDaoWrapperFactory,context); } } return null; } }
Rename Variable
customFieldId
to
customFieldIds
subscriptionId
to
subscriptionIds
subscriptionId
to
subscriptionIds
subscriptionId
to
subscriptionIds