From 1a426d3edceb360d4f184212308e7ac80873038b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 26 Oct 2020 05:03:39 +0100 Subject: [PATCH] Continued: - should be socket's protocol - removed setter debug lines MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../hub/classes/container/socket/class_SocketContainer.php | 4 ++-- .../hub/classes/package/deliverable/class_PackageData.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/hub/classes/container/socket/class_SocketContainer.php b/application/hub/classes/container/socket/class_SocketContainer.php index 3de25c65e..dd7cb5c08 100644 --- a/application/hub/classes/container/socket/class_SocketContainer.php +++ b/application/hub/classes/container/socket/class_SocketContainer.php @@ -1531,7 +1531,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita * @return void */ public function setSocketFile (SplFileInfo $socketFile) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketFile=%s ...', strtoupper($this->getSocketType()), $socketFile)); + /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketFile=%s ...', strtoupper($this->getSocketProtocol()), $socketFile)); $this->socketFile = $socketFile; } @@ -1551,7 +1551,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita * @return void */ public function setSocketType ($socketType) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketType=%s ...', strtoupper($this->getSocketType()), $socketType)); + /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketType=%s ...', strtoupper($this->getSocketProtocol()), $socketType)); $this->socketType = $socketType; } diff --git a/application/hub/classes/package/deliverable/class_PackageData.php b/application/hub/classes/package/deliverable/class_PackageData.php index e512e1835..a37f978a8 100644 --- a/application/hub/classes/package/deliverable/class_PackageData.php +++ b/application/hub/classes/package/deliverable/class_PackageData.php @@ -81,7 +81,6 @@ class PackageData extends BaseHubSystem implements DeliverablePackage, Registera * @return void */ public function setPackageContent ($packageContent) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('PACKAGE-DATA: Setting packageContent()=%d ...', strlen($packageContent))); $this->packageContent = $packageContent; } @@ -101,7 +100,6 @@ class PackageData extends BaseHubSystem implements DeliverablePackage, Registera * @return void */ public function setContentHash ($contentHash) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('PACKAGE-DATA: Setting contentHash()=%d ...', strlen($contentHash))); $this->contentHash = $contentHash; } -- 2.39.5