[Bps-public-commit] r17365 - Prophet/trunk/lib/Prophet
jesse at bestpractical.com
jesse at bestpractical.com
Thu Dec 25 20:55:00 EST 2008
Author: jesse
Date: Thu Dec 25 20:54:58 2008
New Revision: 17365
Modified:
Prophet/trunk/lib/Prophet/Replica.pm
Log:
* promote integrate_change since we need to override it
Modified: Prophet/trunk/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica.pm (original)
+++ Prophet/trunk/lib/Prophet/Replica.pm Thu Dec 25 20:54:58 2008
@@ -875,18 +875,18 @@
sub integrate_changes {
my ($self, $changeset) = validate_pos( @_, {isa => 'Prophet::Replica'},
{ isa => 'Prophet::ChangeSet' } );
- $self->_integrate_change($_, $changeset) for ( $changeset->changes );
+ $self->integrate_change($_, $changeset) for ( $changeset->changes );
}
-=head2 _integrate_change L<Prophet::Change> <Prophet::ChangeSet>
+=head2 integrate_change L<Prophet::Change> <Prophet::ChangeSet>
Integrates the given change into the current replica. Used in
L</integrate_changes>.
=cut
-sub _integrate_change {
+sub integrate_change {
my ($self, $change) = validate_pos(@_, { isa => 'Prophet::Replica' },
{ isa => 'Prophet::Change' },
{ isa => 'Prophet::ChangeSet' }
More information about the Bps-public-commit
mailing list