Skip to content

Commit

Permalink
Item(TCOMP-2743):fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
yyin-talend committed Jun 25, 2024
1 parent 288455e commit 23e9d83
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.talend.sdk.component.api.service.http.HttpClient;
import org.talend.sdk.component.api.service.http.Request;

public class HttpClientValidatorTest {
class HttpClientValidatorTest {
@Test
void validateErrors1() {
final HttpValidator validator = new HttpValidator();
Expand Down Expand Up @@ -40,20 +40,20 @@ void validateOKs() {
assertEquals(0, noerrors.count());
}

public interface SimpleClient extends HttpClient {
interface SimpleClient extends HttpClient {

@Request(method = "POST")
String main1(String ok);
}

public interface MethodKo extends List{
interface MethodKo extends List{

@Request
List<Object> main(String payload);
}


public interface ClientKo {
interface ClientKo {

@Request
String main();
Expand Down

0 comments on commit 23e9d83

Please sign in to comment.