Skip to content

Commit d7ae15c

Browse files
committed
update method signatures
1 parent 4a95898 commit d7ae15c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/com/aventstack/extentreports/ExtentReports.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public void setTestRunnerOutput(String log) {
361361
* @return {@link ExtentKlovReporter}
362362
*/
363363
public ExtentReports tryResolveMediaPath() {
364-
setImagePathResolveDir(IMAGE_PATH_RESOLVER_DIR);
364+
setMediaPathResolveDir(IMAGE_PATH_RESOLVER_DIR);
365365
return this;
366366
}
367367

@@ -374,8 +374,8 @@ public ExtentReports tryResolveMediaPath() {
374374
*
375375
* @return {@link ExtentKlovReporter}
376376
*/
377-
public ExtentReports tryResolveScreenCapturePath(String[] paths) {
378-
setImagePathResolveDir(paths);
377+
public ExtentReports tryResolveMediaPath(String[] paths) {
378+
setMediaPathResolveDir(paths);
379379
return this;
380380
}
381381

src/main/java/com/aventstack/extentreports/ReportObservable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ protected void setAnalysisStrategy(AnalysisStrategy strategy) {
563563
stats = new ReportStatusStats(strategy);
564564
}
565565

566-
protected void setImagePathResolveDir(String[] imagePathResolveDir) {
566+
protected void setMediaPathResolveDir(String[] imagePathResolveDir) {
567567
this.imagePathResolveDir = imagePathResolveDir;
568568
}
569569

0 commit comments

Comments
 (0)