From 37722eca39874bb6abdcd120e3e458bd62dea62b Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 5 Jul 2017 11:43:18 -0700 Subject: Bug 1377933 - Remove trailing whitespace from all perl files --- Bugzilla/Elastic/Indexer.pm | 2 +- Bugzilla/Elastic/Search.pm | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Bugzilla/Elastic') diff --git a/Bugzilla/Elastic/Indexer.pm b/Bugzilla/Elastic/Indexer.pm index dd71a7198..fce8f1053 100644 --- a/Bugzilla/Elastic/Indexer.pm +++ b/Bugzilla/Elastic/Indexer.pm @@ -43,7 +43,7 @@ sub create_index { number_of_shards => 2, analysis => { filter => { - asciifolding_original => { + asciifolding_original => { type => "asciifolding", preserve_original => \1, }, diff --git a/Bugzilla/Elastic/Search.pm b/Bugzilla/Elastic/Search.pm index 2a49fd870..24e2e3234 100644 --- a/Bugzilla/Elastic/Search.pm +++ b/Bugzilla/Elastic/Search.pm @@ -140,7 +140,7 @@ sub _build_fields { return \@SUPPORTED_FIELDS } sub _build__order { my ($self) = @_; - + my @order; foreach my $order (@{$self->_input_order}) { if ($order =~ /^(.+)\s+(asc|desc)$/i) { @@ -180,7 +180,7 @@ sub _build_search_description { sub _describe { my ($thing) = @_; - + state $class_to_func = { 'Bugzilla::Search::Condition' => \&_describe_condition, 'Bugzilla::Search::Clause' => \&_describe_clause @@ -411,7 +411,7 @@ BEGIN { with 'Throwable'; has 'redirect_args' => (is => 'ro', required => 1); - + package Bugzilla::Elastic::Search::UnsupportedField; use Moo; use overload q{""} => sub { "Unsupported field: ", $_[0]->field }, fallback => 1; @@ -420,7 +420,7 @@ BEGIN { has 'field' => (is => 'ro', required => 1); - + package Bugzilla::Elastic::Search::UnsupportedOperator; use Moo; -- cgit v1.2.3-24-g4f1b