[Bps-public-commit] r17548 - Prophet/trunk/lib/Prophet

jesse at bestpractical.com jesse at bestpractical.com
Sun Jan 4 16:40:11 EST 2009


Author: jesse
Date: Sun Jan  4 16:40:11 2009
New Revision: 17548

Modified:
   Prophet/trunk/lib/Prophet/ForeignReplica.pm
   Prophet/trunk/lib/Prophet/Replica.pm

Log:
 * doc cleanup

Modified: Prophet/trunk/lib/Prophet/ForeignReplica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/ForeignReplica.pm	(original)
+++ Prophet/trunk/lib/Prophet/ForeignReplica.pm	Sun Jan  4 16:40:11 2009
@@ -1,6 +1,7 @@
 package Prophet::ForeignReplica;
 use Moose;
 use Params::Validate qw(:all);
+use Data::UUID 'NameSpace_DNS';
 extends 'Prophet::Replica';
 
 =head1 NAME
@@ -34,6 +35,13 @@
     return
 }
 
+=head3 record_changes L<Prophet::ChangeSet>
+
+Integrate all changes in this changeset.
+
+=cut
+
+
 sub record_changes {
     my $self = shift;
     my ($changeset) = validate_pos( @_, { isa => 'Prophet::ChangeSet' } );
@@ -44,7 +52,6 @@
 sub begin_edit  { }
 sub commit_edit { }
 
-use Data::UUID 'NameSpace_DNS';
 
 # foreign replicas never have a db uuid
 sub db_uuid { return undef }
@@ -85,7 +92,7 @@
     return $self->state_handle->metadata_storage( $REMOTE_ID_METATYPE, 'prophet-uuid' )->(@_);
 }
 
-=head2 has_seen_changeset ChangeSet
+=head2 has_seen_changeset Prophet::ChangeSet
 
 This is a simplification of L<Prophet::Replica/has_seen_changeset>. Because
 only a single Prophet replica is talking to this foreign replica, we only need

Modified: Prophet/trunk/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica.pm	(original)
+++ Prophet/trunk/lib/Prophet/Replica.pm	Sun Jan  4 16:40:11 2009
@@ -821,7 +821,7 @@
 
 =head3 record_changes L<Prophet::ChangeSet>
 
-Inside an edit (transaction), integrate all changes in this transaction
+Inside an edit (transaction), integrate all changes in this changeset
 and then call the _after_record_changes() hook.
 
 =cut



More information about the Bps-public-commit mailing list