Skip to content

Commit

Permalink
Remove other instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Oct 16, 2021
1 parent f7a8882 commit 7af97ad
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/valkyrie/persistence/fedora/persister/orm_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -539,16 +539,6 @@ def key
key
end

# @deprecated
# Determines whether or not a key is on the deny list for mapping
# (For example <http://fedora.info/definitions> assertions are not mapped to Valkyrie attributes)
# @param [Symbol] key
# @return [Boolean]
def blacklist?(key)
warn "[DEPRECATION] Samvera is deprecating '#{self.class}#blacklist?' in 3.0.0. Use #{self.class}#deny? instead."
deny?(key)
end

# Determines whether or not a key is on the deny list for mapping
# (For example <http://fedora.info/definitions> assertions are not mapped to Valkyrie attributes)
# @param [Symbol] key
Expand All @@ -567,14 +557,6 @@ def cast_array(values)
Array(values)
end

# @deprecated
# Retrieve a list of denied URIs for predicates
# @return [Array<String>]
def blacklist
warn "[DEPRECATION] Samvera is deprecating '#{self.class}#blacklist' in 3.0.0. Use #{self.class}#denylist instead."
denylist
end

# Retrieve a list of denied URIs for predicates
# @return [Array<String>]
def denylist
Expand Down

0 comments on commit 7af97ad

Please sign in to comment.