Skip to content

Commit 042e5a1

Browse files
authored
feat: deprecate ChainWorkerpool and IexecHubAbstractService#isTeeTask code for future removal (#156)
1 parent f8c83a2 commit 042e5a1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/main/java/com/iexec/commons/poco/chain/ChainWorkerpool.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
import lombok.Builder;
2020
import lombok.Value;
2121

22+
/**
23+
* @deprecated this was never used
24+
*/
25+
@Deprecated(forRemoval = true)
2226
@Value
2327
@Builder
2428
public class ChainWorkerpool {

src/main/java/com/iexec/commons/poco/chain/IexecHubAbstractService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,10 @@ Optional<TaskDescription> repeatGetTaskDescriptionFromChain(String chainTaskId,
526526
return taskDescription != null ? Optional.of(taskDescription) : Optional.empty();
527527
}
528528

529+
/**
530+
* @deprecated single usage found in all code, directly call isTeeTask on getTaskDescription
531+
*/
532+
@Deprecated(forRemoval = true)
529533
public boolean isTeeTask(String chainTaskId) {
530534
final TaskDescription taskDescription = getTaskDescription(chainTaskId);
531535

0 commit comments

Comments
 (0)