File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
app/src/main/java/org/vss Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ public abstract class AbstractVssApi {
1919 @ Inject
2020 public AbstractVssApi (KVStore kvStore , Authorizer authorizer ) {
2121 this .kvStore = kvStore ;
22- this .authorizer = authorizer ;
23- }
22+ this .authorizer = authorizer ;
23+ }
2424
2525 Response toResponse (GeneratedMessageV3 protoResponse ) {
2626
Original file line number Diff line number Diff line change 1919@ Slf4j
2020public class GetObjectApi extends AbstractVssApi {
2121
22-
23-
2422 @ Inject
2523 public GetObjectApi (KVStore kvstore , Authorizer authorizer ) {
2624 super (kvstore , authorizer );
Original file line number Diff line number Diff line change 66// A no-operation authorizer, that lets any user-request go through.
77public class NoopAuthorizer implements Authorizer {
88 private static String UNAUTHENTICATED_USER = "unauth-user" ;
9+
910 @ Override
1011 public AuthResponse verify (HttpHeaders headers ) throws AuthException {
11- return new AuthResponse ( UNAUTHENTICATED_USER );
12+ return new AuthResponse (UNAUTHENTICATED_USER );
1213 }
1314}
You can’t perform that action at this time.
0 commit comments