[boxer] 12/33: Stop skip undefined args in Task::Serialize (needed only for Task::Classify).
Jonas Smedegaard
dr at jones.dk
Sun Nov 5 18:28:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/1.1.5-1
in repository boxer.
commit f5b0ad424d74ce2d674851d88def1150f85840e3
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Jul 3 16:37:35 2016 +0200
Stop skip undefined args in Task::Serialize (needed only for Task::Classify).
---
lib/Boxer/Task/Serialize.pm | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lib/Boxer/Task/Serialize.pm b/lib/Boxer/Task/Serialize.pm
index 144bfc9..0d11779 100644
--- a/lib/Boxer/Task/Serialize.pm
+++ b/lib/Boxer/Task/Serialize.pm
@@ -32,14 +32,6 @@ Version v1.1.4
our $VERSION = version->declare("v1.1.4");
-# permit callers to sloppily pass undefined hash values
-sub BUILDARGS
-{
- my ( $class, %args ) = @_;
- delete @args{ grep !defined( $args{$_} ), keys %args };
- return {%args};
-}
-
has world => (
is => 'ro',
isa => InstanceOf ['Boxer::World::Reclass'],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/boxer.git
More information about the Pkg-perl-cvs-commits
mailing list