Skip to content

Commit

Permalink
Minor, removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
andsel committed Nov 14, 2024
1 parent 2eda740 commit dcb0c25
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.
4 changes: 0 additions & 4 deletions logstash-core/lib/logstash/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ def register(setting)
# return a List, so the following type checking before going deep by one layer.
return setting.map { |s| register(s) } if setting.kind_of?(Array) || setting.kind_of?(java.util.List)

# if setting.name == "xpack.monitoring.allow_legacy_collection"
# puts ">>> call stack Compiler#compile_sources"; caller.each { |frame| puts "#{frame}"}
# end

if @settings.key?(setting.name)
raise ArgumentError.new("Setting \"#{setting.name}\" has already been registered as #{setting.inspect}")
else
Expand Down

This file was deleted.

0 comments on commit dcb0c25

Please sign in to comment.