[tools] testbot/orm: Simplify CombineKey() and SplitKey() a bit.
Francois Gouget
fgouget at codeweavers.com
Sun Jun 5 19:59:20 CDT 2022
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/ObjectModel/Collection.pm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/testbot/lib/ObjectModel/Collection.pm b/testbot/lib/ObjectModel/Collection.pm
index 63d470bbc..1a48eec35 100644
--- a/testbot/lib/ObjectModel/Collection.pm
+++ b/testbot/lib/ObjectModel/Collection.pm
@@ -462,18 +462,14 @@ sub IsEmpty($)
sub CombineKey($@)
{
- my $self = shift;
-
- my $CombinedKey = join("#@#", @_);
- return $CombinedKey;
+ my $_self = shift;
+ return join("#@#", @_);
}
sub SplitKey($$)
{
- my ($self, $CombinedKey) = @_;
-
- my @KeyComponents = split /#@#/, $CombinedKey;
- return @KeyComponents;
+ my ($_self, $CombinedKey) = @_;
+ return split /#@#/, $CombinedKey;
}
=pod
--
2.30.2
More information about the wine-devel
mailing list