com.base.Http.Server.Responses.Team.DeleteTeamResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResponse(Request,Response) 0 4 1
1
package com.base.Http.Server.Responses.Team;
2
3
import com.base.Http.Request.Request;
4
import com.base.Http.Response.Response;
5
import com.base.Http.Server.Responses.BaseResponse;
6
7
public class DeleteTeamResponse extends BaseResponse {
8
9
    public static String VALID_TEAM_SLUG = "twitter";
10
    public static String VALID_DELETED_TEAM_SLUG = "design";
11
12
    @Override
13
    public Response getResponse(Request request, Response response) {
14
        return response.setStatusCode(200)
15
                .setBody("");
16
    }
17
}
18