Skip to content

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
Took 37 seconds
  • Loading branch information
gribanoveu committed Jan 19, 2024
1 parent f4ba754 commit 6a90f91
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
package com.github.gribanoveu.cuddle;

import com.github.gribanoveu.cuddle.config.RsaProperties;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityScheme;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableScheduling
@EnableConfigurationProperties({RsaProperties.class})
@SpringBootApplication
@EnableConfigurationProperties({RsaProperties.class})
public class CuddleApplication {
public static void main(String[] args) {
SpringApplication.run(CuddleApplication.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.ProviderManager;
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.springframework.security.oauth2.jwt.NimbusJwtEncoder;
import org.springframework.stereotype.Component;

import java.security.interfaces.RSAPublicKey;

/**
* @author Evgeny Gribanov
* @version 05.09.2023
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpStatus;

import java.time.LocalDateTime;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.time.LocalDateTime;

/**
* @author Evgeny Gribanov
* @version 27.12.2023
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.github.gribanoveu.cuddle.dtos.data.SimpleEmailObject;
import com.github.gribanoveu.cuddle.dtos.enums.ResponseCode;
import com.github.gribanoveu.cuddle.exeptions.CredentialEx;
import jakarta.mail.MessagingException;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down

0 comments on commit 6a90f91

Please sign in to comment.