26f35a89a7c6aff435a090cadba9bd1d85e8ed3e,data/rating.py,RatingDAO,containsItem,#RatingDAO#,138
Before Change
def containsItem(self,i):
"whether item is in training set"
if self.item.has_key(i):
return True
else:
return False
After Change
def containsItem(self,i):
"whether item is in training set"
if i in self.item:
return True
else:
return False
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/rating.py
Class Name: RatingDAO
Method Name: containsItem
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/rating.py
Class Name: RatingDAO
Method Name: getItemId
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/rating.py
Class Name: RatingDAO
Method Name: getUserId
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/social.py
Class Name: SocialDAO
Method Name: hasFollower
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/rating.py
Class Name: RatingDAO
Method Name: containsUser
Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/social.py
Class Name: SocialDAO
Method Name: hasFollowee