[Bps-public-commit] r17559 - in Net-Google-Code/trunk: lib/Net/Google/Code

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jan 5 21:25:12 EST 2009


Author: sunnavy
Date: Mon Jan  5 21:25:12 2009
New Revision: 17559

Modified:
   Net-Google-Code/trunk/   (props changed)
   Net-Google-Code/trunk/lib/Net/Google/Code/Ticket.pm
   Net-Google-Code/trunk/lib/Net/Google/Code/TicketComment.pm

Log:
 r18548 at sunnavys-mb:  sunnavy | 2009-01-06 09:54:39 +0800
 tiny improvements


Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Ticket.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Ticket.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Ticket.pm	Mon Jan  5 21:25:12 2009
@@ -22,13 +22,13 @@
 );
 
 has comments => (
-    isa => 'ArrayRef',
+    isa => 'ArrayRef[Net::Google::Code::Comment]',
     is => 'rw',
     default => sub { [] },
 );
 
 has attachments => (
-    isa     => 'ArrayRef',
+    isa     => 'ArrayRef[Net::Google::CodeTicketAttachment]',
     is      => 'rw',
     default => sub { [] },
 );

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/TicketComment.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/TicketComment.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/TicketComment.pm	Mon Jan  5 21:25:12 2009
@@ -12,7 +12,11 @@
 has date      => ( isa => 'Str',     is => 'rw' );
 has content   => ( isa => 'Str',     is => 'rw' );
 has sequence  => ( isa => 'Int',     is => 'rw' );
-has attachments => ( isa => 'ArrayRef', is => 'rw', default => sub { [] } );
+has attachments => (
+    isa     => 'ArrayRef[Net::Google::Code::TicketAttachment]',
+    is      => 'rw',
+    default => sub { [] },
+);
 
 =head2 parse_entry
 



More information about the Bps-public-commit mailing list