Skip to content

Instantly share code, notes, and snippets.

@sys1yagi
Created Aug 22, 2017
Embed
What would you like to do?
fun shouldOpenShop(shopId: Long): Boolean {
if( shopId <= 0L ){
return false
}
if( this.shop == null ) {
return false
}
if( this.shop.id == shopId ) { // これを return this.shop.id == shopId にしろって言われる
return false
}
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment