From: Dave Rolsky Date: Sun, 11 Jan 2009 11:20:02 +0000 (+0000) Subject: Remove commented-out bit of code X-Git-Tag: 0.76~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=40c9e90ea1035f55e84d0a85f9dd30b9c672420c;p=gitmo%2FClass-MOP.git Remove commented-out bit of code --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index 28c3bfb..ed0b857 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -744,12 +744,6 @@ sub get_method { (defined $method_name && $method_name) || confess "You must define a method name"; - # NOTE: - # I don't really need this here, because - # if the method_map is missing a key it - # will just return undef for me now - # return unless $self->has_method($method_name); - return $self->{methods}{$method_name} || $self->get_method_map->{$method_name}; }