diff Lib/IMPL/DOM/Schema/ValidationError.pm @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents d1676be8afcc
children 6d8092d8ce1b
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/ValidationError.pm	Tue Apr 10 08:13:22 2012 +0400
+++ b/Lib/IMPL/DOM/Schema/ValidationError.pm	Tue Apr 10 20:08:29 2012 +0400
@@ -26,18 +26,18 @@
     $this->{$Schema} = $args{Schema} if $args{Schema};
     $this->{$Source} = $args{Source} if $args{Source};
     if ($args{Parent}) {
-    	$this->{$Parent} = $args{Parent};
+        $this->{$Parent} = $args{Parent};
     } elsif ($args{Node}) {
-    	$this->{$Parent} = $args{Node}->parentNode;
+        $this->{$Parent} = $args{Node}->parentNode;
     } else {
-    	die new IMPL::InvalidArgumentException("A 'Parent' or a 'Node' parameter is required");
+        die new IMPL::InvalidArgumentException("A 'Parent' or a 'Node' parameter is required");
     }
     $this->{$Message} = FormatMessage(delete $args{Message}, \%args) if $args{Message};
 }
 
 sub toString {
-	(my $this) = @_;
-	return $this->Message;
+    (my $this) = @_;
+    return $this->Message;
 }
 
 1;