From 6e24e10bdbf7de23078b4e6109b768abe07a1fd7 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 11 Apr 2020 15:26:12 -0700 Subject: [PATCH] Remove obsolete definitions of "defineHardpoints()" in older Ref objects Summary: Ref T13490. A few older "defineHardpoint()" calls are sticking around. They no longer have callers; get rid of them. Test Plan: Grepped for this symbol, no hits. Maniphest Tasks: T13490 Differential Revision: https://secure.phabricator.com/D21087 --- src/browse/ref/ArcanistBrowseURIRef.php | 4 ---- src/ref/ArcanistRepositoryRef.php | 4 ---- src/ref/ArcanistRevisionRef.php | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/browse/ref/ArcanistBrowseURIRef.php b/src/browse/ref/ArcanistBrowseURIRef.php index e5ac2314..b83137f5 100644 --- a/src/browse/ref/ArcanistBrowseURIRef.php +++ b/src/browse/ref/ArcanistBrowseURIRef.php @@ -10,10 +10,6 @@ final class ArcanistBrowseURIRef return pht('Browse URI "%s"', $this->getURI()); } - public function defineHardpoints() { - return array(); - } - public function setURI($uri) { $this->uri = $uri; return $this; diff --git a/src/ref/ArcanistRepositoryRef.php b/src/ref/ArcanistRepositoryRef.php index 5de6a310..e7e7a2ee 100644 --- a/src/ref/ArcanistRepositoryRef.php +++ b/src/ref/ArcanistRepositoryRef.php @@ -10,10 +10,6 @@ final class ArcanistRepositoryRef return pht('Remote Repository'); } - public function defineHardpoints() { - return array(); - } - public function setPHID($phid) { $this->phid = $phid; return $this; diff --git a/src/ref/ArcanistRevisionRef.php b/src/ref/ArcanistRevisionRef.php index ce964d8d..954ed565 100644 --- a/src/ref/ArcanistRevisionRef.php +++ b/src/ref/ArcanistRevisionRef.php @@ -10,10 +10,6 @@ final class ArcanistRevisionRef return pht('Revision %s', $this->getMonogram()); } - public function defineHardpoints() { - return array(); - } - public static function newFromConduit(array $dict) { $ref = new self(); $ref->parameters = $dict;