Skip to content

Commit

Permalink
Fix some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyAkkuratov committed Mar 9, 2024
1 parent a45163d commit a2b2f4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package ru.sakkuratov.autotests.events;

import lombok.Getter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationEvent;
import ru.sakkuratov.autotests.models.CucumberTask;

@Getter
public class TestFinishedEvent extends ApplicationEvent {

private static final Logger logger = LoggerFactory.getLogger(TestFinishedEvent.class);
Expand All @@ -16,7 +18,4 @@ public TestFinishedEvent(CucumberTask source, String resultMessage) {
logger.debug("Event created: Test finished event");
}

public String getResultMessage() {
return this.resultMessage;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class TestWatcher {
@Autowired
private ApplicationEventPublisher publisher;

private HttpHeaders headers = new HttpHeaders();
private final HttpHeaders headers = new HttpHeaders();

@PostConstruct
public void init() {
Expand Down

0 comments on commit a2b2f4e

Please sign in to comment.