Skip to content

Commit

Permalink
shorter non-ambiguous method names
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Rousse authored and Guillaume Rousse committed Mar 8, 2012
1 parent 33e4f14 commit 26e59c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/FusionInventory/Agent/Config.pm
Expand Up @@ -93,12 +93,12 @@ sub new {
if ($backend eq 'registry') {
die "Unavailable configuration backend\n"
unless $OSNAME eq 'MSWin32';
$self->_loadFromWinRegistry();
$self->_loadFromRegistry();
last SWITCH;
}

if ($backend eq 'file') {
$self->_loadFromCfgFile({
$self->_loadFromFile({
file => $params{options}->{'conf-file'},
directory => $params{confdir},
});
Expand Down Expand Up @@ -127,7 +127,7 @@ sub _loadDefaults {
}
}

sub _loadFromWinRegistry {
sub _loadFromRegistry {
my ($self) = @_;

my $Registry;
Expand Down Expand Up @@ -156,7 +156,7 @@ sub _loadFromWinRegistry {
}
}

sub _loadFromCfgFile {
sub _loadFromFile {
my ($self, $params) = @_;

my $file = $params->{file} ?
Expand Down

0 comments on commit 26e59c5

Please sign in to comment.