From 3ff53d9adf17a67088d970631cac83d6126d799a Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Mon, 2 Dec 2019 20:55:41 +0100 Subject: [PATCH] Replace xp::stringOf() with util.Objects::stringOf() --- src/main/php/io/archive/zip/ZipDirEntry.class.php | 3 ++- src/main/php/io/archive/zip/ZipFileEntry.class.php | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/php/io/archive/zip/ZipDirEntry.class.php b/src/main/php/io/archive/zip/ZipDirEntry.class.php index ba9a62b6..154da803 100644 --- a/src/main/php/io/archive/zip/ZipDirEntry.class.php +++ b/src/main/php/io/archive/zip/ZipDirEntry.class.php @@ -1,6 +1,7 @@ name, - \xp::stringOf($this->mod) + Objects::stringOf($this->mod) ); } } diff --git a/src/main/php/io/archive/zip/ZipFileEntry.class.php b/src/main/php/io/archive/zip/ZipFileEntry.class.php index 5a763334..4f9bf3e3 100644 --- a/src/main/php/io/archive/zip/ZipFileEntry.class.php +++ b/src/main/php/io/archive/zip/ZipFileEntry.class.php @@ -1,6 +1,7 @@ name, - \xp::stringOf($this->mod), - \xp::stringOf($this->compression[0]), + Objects::stringOf($this->mod), + Objects::stringOf($this->compression[0]), $this->compression[1], $this->size );