Skip to content

Commit 3ff53d9

Browse files
committed
Replace xp::stringOf() with util.Objects::stringOf()
1 parent cf5b00d commit 3ff53d9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/php/io/archive/zip/ZipDirEntry.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php namespace io\archive\zip;
22

33
use util\Date;
4+
use util\Objects;
45

56
/**
67
* Represents a Dir entry in a zip archive
@@ -119,7 +120,7 @@ public function toString() {
119120
"}",
120121
nameof($this),
121122
$this->name,
122-
\xp::stringOf($this->mod)
123+
Objects::stringOf($this->mod)
123124
);
124125
}
125126
}

src/main/php/io/archive/zip/ZipFileEntry.class.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php namespace io\archive\zip;
22

33
use util\Date;
4+
use util\Objects;
45

56
/**
67
* Represents a file entry in a zip archive
@@ -165,8 +166,8 @@ public function toString() {
165166
"}",
166167
nameof($this),
167168
$this->name,
168-
\xp::stringOf($this->mod),
169-
\xp::stringOf($this->compression[0]),
169+
Objects::stringOf($this->mod),
170+
Objects::stringOf($this->compression[0]),
170171
$this->compression[1],
171172
$this->size
172173
);

0 commit comments

Comments
 (0)