Skip to content

Commit

Permalink
Clean up some code smells discovered by Sonar Quebe
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Oct 28, 2023
1 parent a2c2bba commit 9d9bf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def propagate_collector
end

def public?
self.private == false && self.collection.private == false
!self.private && !self.collection.private
end

def full_identifier
Expand Down

0 comments on commit 9d9bf44

Please sign in to comment.