Skip to content

Commit

Permalink
remove commented out tmp alias_method
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsurprenant committed May 6, 2016
1 parent b30fd80 commit a94fb4f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions logstash-core-event/lib/logstash/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def get(fieldref)
@accessors.get(fieldref)
end
end
# alias_method :[], :get

def set(fieldref, value)
if fieldref == TIMESTAMP && !value.is_a?(LogStash::Timestamp)
Expand All @@ -138,7 +137,6 @@ def set(fieldref, value)
@accessors.set(fieldref, value)
end
end
# alias_method :[]=, :set

def to_json(*args)
# ignore arguments to respect accepted to_json method signature
Expand Down

0 comments on commit a94fb4f

Please sign in to comment.