Skip to content

Commit

Permalink
remove trash(suggested by miyagawa++)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Mar 17, 2010
1 parent daf8d66 commit 90737af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/HTTPx/Dispatcher/Rule.pm
Expand Up @@ -43,7 +43,6 @@ sub compile {

sub match {
my ($self, $req) = @_;
croak "request required" unless blessed $req;

my $uri = ref($req->uri) ? $req->uri->path : $req->uri;
$uri =~ s!^/+!!;
Expand Down Expand Up @@ -97,7 +96,6 @@ sub _condition_check {

sub _condition_check_method {
my ($self, $req) = @_;
croak "request required" unless blessed $req;

my $method = $self->conditions->{method};
return 1 unless $method;
Expand All @@ -113,7 +111,6 @@ sub _condition_check_method {

sub _condition_check_function {
my ($self, $req) = @_;
croak "request required" unless blessed $req;

my $function = $self->conditions->{function};
return 1 unless $function;
Expand Down

0 comments on commit 90737af

Please sign in to comment.