Skip to content

Commit 49f6498

Browse files
committed
TASK: Cosmetic code tweaks
1 parent 03a6c6e commit 49f6498

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

  • Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer

Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/IndexingJob.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
use Flowpack\JobQueue\Common\Queue\QueueInterface;
99
use Neos\ContentRepository\Domain\Model\NodeData;
1010
use Neos\Flow\Annotations as Flow;
11-
use Neos\Flow\Log\SystemLoggerInterface;
1211
use Neos\Flow\Utility\Algorithms;
1312
use Neos\ContentRepository\Domain\Factory\NodeFactory;
1413
use Neos\ContentRepository\Domain\Model\NodeInterface;
1514
use Neos\ContentRepository\Domain\Service\ContextFactoryInterface;
1615

1716
/**
18-
* ElasticSearch Indexing Job Interface
17+
* Elasticsearch Node Indexing Job
1918
*/
2019
class IndexingJob implements JobInterface
2120
{
@@ -79,8 +78,7 @@ public function __construct($indexPostfix, $targetWorkspaceName, array $nodes)
7978
}
8079

8180
/**
82-
* Execute the job
83-
* A job should finish itself after successful execution using the queue methods.
81+
* Execute the indexing of nodes
8482
*
8583
* @param QueueInterface $queue
8684
* @param Message $message The original message
@@ -140,6 +138,6 @@ public function getIdentifier()
140138
*/
141139
public function getLabel()
142140
{
143-
return sprintf('ElasticSearch Indexing Job (%s)', $this->getIdentifier());
141+
return sprintf('Elasticsearch Indexing Job (%s)', $this->getIdentifier());
144142
}
145143
}

0 commit comments

Comments
 (0)