Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Feb 13, 2024
1 parent ee05c2c commit c2f6d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Removed
- `ItemTreeUtils.createKey(org.jbehave.core.model.Scenario)` unused method, by @HardNorth

## [5.3.2]
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.epam.reportportal.jbehave.util;

import com.epam.reportportal.service.tree.TestItemTree;
import org.jbehave.core.model.Scenario;
import org.jbehave.core.model.Story;

import javax.annotation.Nonnull;
Expand All @@ -40,10 +39,6 @@ public static TestItemTree.ItemTreeKey createKey(@Nonnull final Story key) {
return TestItemTree.ItemTreeKey.of(key.getPath());
}

public static TestItemTree.ItemTreeKey createKey(@Nonnull final Scenario key) {
return TestItemTree.ItemTreeKey.of(key.getTitle());
}

public static TestItemTree.ItemTreeKey createKey(@Nonnull final Map<String, String> example) {
return TestItemTree.ItemTreeKey.of(formatExampleKey(example));
}
Expand Down

0 comments on commit c2f6d40

Please sign in to comment.