From 9593ed04e60849f1a58beefd18a66517f4b9e265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Thu, 16 Aug 2012 17:10:41 +0200 Subject: [PATCH] Wrap some over-log has statements --- lib/SQL/Translator/Schema/Constraint.pm | 6 +++++- lib/SQL/Translator/Schema/Index.pm | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/SQL/Translator/Schema/Constraint.pm b/lib/SQL/Translator/Schema/Constraint.pm index e5cb69a8a..0261df780 100644 --- a/lib/SQL/Translator/Schema/Constraint.pm +++ b/lib/SQL/Translator/Schema/Constraint.pm @@ -88,7 +88,11 @@ False, so the following are eqivalent: =cut -has deferrable => ( is => 'rw', coerce => quote_sub(q{ $_[0] ? 1 : 0 }), default => quote_sub(q{ 1 }) ); +has deferrable => ( + is => 'rw', + coerce => quote_sub(q{ $_[0] ? 1 : 0 }), + default => quote_sub(q{ 1 }), +); =head2 expression diff --git a/lib/SQL/Translator/Schema/Index.pm b/lib/SQL/Translator/Schema/Index.pm index b238e2711..85373190c 100644 --- a/lib/SQL/Translator/Schema/Index.pm +++ b/lib/SQL/Translator/Schema/Index.pm @@ -101,7 +101,11 @@ Get or set the index's name. =cut -has name => ( is => 'rw', coerce => quote_sub(q{ defined $_[0] ? $_[0] : '' }), default => quote_sub(q{ '' }) ); +has name => ( + is => 'rw', + coerce => quote_sub(q{ defined $_[0] ? $_[0] : '' }), + default => quote_sub(q{ '' }), +); =head2 options