[open-ils-commits] [GIT] Evergreen ILS branch master updated. 82e6978f5b33909c2cbb646c1dd36086e7ae7254

Evergreen Git git at git.evergreen-ils.org
Fri Jul 12 14:31:56 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  82e6978f5b33909c2cbb646c1dd36086e7ae7254 (commit)
      from  e3089098b4b27022597f7514af44108d4b3f5021 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 82e6978f5b33909c2cbb646c1dd36086e7ae7254
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Fri Jul 12 14:29:30 2013 -0400

    Whitespace-only changes to Fieldmapper.pm
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
index 4cd02a2..4542e24 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
@@ -82,13 +82,13 @@ sub load_fields {
                 $virtual = "false";
             }
             my $selector = get_attribute( $attribute_list, 'reporter:selector' );
-           my $datatype = get_attribute( $attribute_list, 'reporter:datatype' );
+            my $datatype = get_attribute( $attribute_list, 'reporter:datatype' );
 
             $$fieldmap{$fm}{fields}{ $name } =
                 { virtual => ( $virtual eq 'true' ) ? 1 : 0,
                   required => ( $required eq 'true' ) ? 1 : 0,
                   position => $array_position,
-                 datatype => $datatype,
+                  datatype => $datatype,
                 };
 
             $$fieldmap{$fm}{fields}{ $name }{validate} = qr/$validate/ if (defined($validate));
@@ -381,19 +381,19 @@ sub ValidateField {
 }
 
 sub FieldInfo {
-   my $self = shift;
-   my $field = shift;
-   my $class_name = $self->class_name;
-   return undef unless ($field && $$fieldmap{$class_name}{fields}{$field});
-   return $$fieldmap{$class_name}{fields}{$field};
+    my $self = shift;
+    my $field = shift;
+    my $class_name = $self->class_name;
+    return undef unless ($field && $$fieldmap{$class_name}{fields}{$field});
+    return $$fieldmap{$class_name}{fields}{$field};
 }
 
 sub FieldDatatype {
-   my $self = shift;
-   my $field = shift;
-   my $class_name = $self->class_name;
-   return undef unless ($field && $$fieldmap{$class_name}{fields}{$field});
-   return $$fieldmap{$class_name}{fields}{$field}{datatype};
+    my $self = shift;
+    my $field = shift;
+    my $class_name = $self->class_name;
+    return undef unless ($field && $$fieldmap{$class_name}{fields}{$field});
+    return $$fieldmap{$class_name}{fields}{$field}{datatype};
 }
 
 sub class_name {

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm  |   24 ++++++++++----------
 1 files changed, 12 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list