Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ”€ :: (#199) Unused Import๋ฌธ์„ ์‚ญ์ œํ–ˆ์Šต๋‹ˆ๋‹ค #201

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.msg.bitgoeul_android.navigation

import androidx.compose.ui.graphics.vector.ImageVector
import com.msg.design_system.R

enum class TopLevelDestination(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.semantics.semantics
import androidx.navigation.NavDestination
import androidx.navigation.NavDestination.Companion.hierarchy
import androidx.navigation.compose.currentBackStackEntryAsState
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.msg.datastore

import androidx.datastore.core.DataStore
import Authority
import androidx.datastore.core.DataStore
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.mapNotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.msg.design_system.R

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.msg.design_system.component.icon

import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.msg.design_system.component.topbar

import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.size
import androidx.compose.material3.IconButton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.msg.model.remote.response.lecture

import com.msg.model.remote.enumdatatype.HighSchool
import java.time.LocalDate
import java.util.UUID

data class GetTakingLectureStudentListResponse(
Expand Down
2 changes: 1 addition & 1 deletion core/ui/src/main/java/com/msg/ui/StudentActivityCard.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.ui

import Authority
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
Expand All @@ -20,7 +21,6 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.msg.design_system.theme.BitgoeulAndroidTheme
import com.msg.model.remote.enumdatatype.ApproveStatus
import Authority
import com.msg.model.remote.model.activity.GetStudentActivityModel
import com.msg.ui.util.toKoreanFormat
import java.time.LocalDate
Expand Down
2 changes: 1 addition & 1 deletion core/ui/src/main/java/com/msg/ui/StudentActivityList.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.msg.ui

import Authority
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.msg.design_system.theme.BitgoeulAndroidTheme
import Authority
import com.msg.model.remote.model.activity.GetStudentActivityModel
import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package com.msg.certification

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
2 changes: 1 addition & 1 deletion feature/certification/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateOf
Expand All @@ -22,7 +21,6 @@ import com.msg.certification.component.AddAcquisitionDateSection
import com.msg.certification.component.AddCertificationSection
import com.msg.design_system.component.button.BitgoeulButton
import com.msg.design_system.component.topbar.DetailSettingTopBar
import com.msg.design_system.theme.BitgoeulAndroidTheme
import com.msg.design_system.theme.color.BitgoeulColor
import com.msg.ui.DevicePreviews
import com.msg.ui.util.toKoreanFormat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.certification

import Authority
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.SavedStateHandle
Expand All @@ -14,7 +15,6 @@ import com.msg.domain.certification.GetCertificationListForTeacherUseCase
import com.msg.domain.certification.WriteCertificationUseCase
import com.msg.domain.club.GetStudentBelongClubUseCase
import com.msg.domain.lecture.GetLectureSignUpHistoryUseCase
import Authority
import com.msg.model.remote.request.certification.WriteCertificationRequest
import com.msg.model.remote.response.certification.CertificationListResponse
import com.msg.model.remote.response.club.StudentBelongClubResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextDecoration
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.msg.design_system.R
import com.msg.design_system.theme.BitgoeulAndroidTheme
import com.msg.model.remote.response.certification.CertificationListResponse
import com.msg.design_system.R
import com.msg.ui.util.toDotFormat
import java.time.LocalDate
import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.navigation.compose.composable
import androidx.navigation.navArgument
import com.msg.certification.AddCertificationScreenRoute
import com.msg.certification.CertificationScreenRoute
import java.util.UUID

const val certificationRoute = "certification_route"
const val addCertificationRoute = "add_certification_route"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.msg.certification

import org.junit.Assert.assertEquals
import org.junit.Test

import org.junit.Assert.*

/**
* Example local unit test, which will execute on the development machine (host).
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.club

import Authority
import androidx.activity.ComponentActivity
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
Expand All @@ -16,7 +17,6 @@ import com.msg.club.component.ClubMemberInfoListSection
import com.msg.design_system.component.icon.GoBackIcon
import com.msg.design_system.component.topbar.GoBackTopBar
import com.msg.design_system.theme.color.BitgoeulColor
import Authority
import com.msg.model.remote.response.club.ClubDetailResponse
import com.msg.ui.DevicePreviews
import java.util.UUID
Expand Down
2 changes: 1 addition & 1 deletion feature/club/src/main/java/com/msg/club/ClubScreen.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.club

import Authority
import androidx.activity.ComponentActivity
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
Expand Down Expand Up @@ -31,7 +32,6 @@ import com.msg.design_system.component.dialog.GetClubListDialog
import com.msg.design_system.component.icon.BigAlertIcon
import com.msg.design_system.component.icon.GreySettingIcon
import com.msg.design_system.theme.BitgoeulAndroidTheme
import Authority
import com.msg.model.remote.enumdatatype.HighSchool
import com.msg.model.remote.response.club.ClubListResponse
import com.msg.ui.DevicePreviews
Expand Down
2 changes: 1 addition & 1 deletion feature/club/src/main/java/com/msg/club/ClubViewModel.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.club

import Authority
import androidx.compose.runtime.mutableLongStateOf
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
Expand All @@ -12,7 +13,6 @@ import com.msg.domain.club.GetClubDetailUseCase
import com.msg.domain.club.GetClubListUseCase
import com.msg.domain.club.GetMyClubDetailUseCase
import com.msg.domain.club.GetStudentBelongClubUseCase
import Authority
import com.msg.model.remote.enumdatatype.HighSchool
import com.msg.model.remote.response.club.ClubDetailResponse
import com.msg.model.remote.response.club.ClubListResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import com.msg.design_system.theme.BitgoeulAndroidTheme
import com.msg.lecture.component.LectureExcelDownloadBottomSheet
import com.msg.lecture.util.Event
import com.msg.lecture.viewmodel.LectureViewModel
import Authority
import com.msg.model.remote.enumdatatype.LectureStatus
import com.msg.model.remote.response.lecture.DetailLectureResponse
import com.msg.ui.util.toKoreanFormat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import com.msg.design_system.R
Expand All @@ -33,7 +32,6 @@ import com.msg.lecture.component.LectureFilterDialog
import com.msg.lecture.component.LectureList
import com.msg.lecture.util.Event
import com.msg.lecture.viewmodel.LectureViewModel
import Authority
import com.msg.model.remote.response.lecture.LectureListResponse
import com.msg.model.remote.response.lecture.Lectures
import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.text.BasicTextField
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateOf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.msg.lecture.component

import android.util.Log
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
Expand All @@ -27,7 +25,6 @@ import androidx.compose.ui.unit.dp
import com.msg.design_system.component.button.BitgoeulButton
import com.msg.design_system.component.icon.CloseIcon
import com.msg.design_system.component.icon.FileIcon
import com.msg.design_system.component.icon.FilterIcon
import com.msg.design_system.component.icon.RedCloseIcon
import com.msg.design_system.component.textfield.TrailingIconTextField
import com.msg.design_system.theme.BitgoeulAndroidTheme
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.msg.lecture.util

import java.time.LocalDate
import java.time.LocalTime
import java.time.format.DateTimeFormatter

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.msg.lecture.viewmodel

import Authority
import android.app.Application
import android.util.Log
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
Expand All @@ -23,7 +23,6 @@ import com.msg.domain.lecture.SearchLineUseCase
import com.msg.domain.lecture.SearchProfessorUseCase
import com.msg.lecture.util.Event
import com.msg.lecture.util.errorHandling
import Authority
import com.msg.model.remote.enumdatatype.HighSchool
import com.msg.model.remote.enumdatatype.LectureStatus
import com.msg.model.remote.enumdatatype.Semester
Expand Down
6 changes: 0 additions & 6 deletions feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.bitgoeul.login

import android.content.pm.ActivityInfo
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
Expand All @@ -20,12 +19,10 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalLifecycleOwner
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.LifecycleOwner
import com.bitgoeul.login.viewmodel.AuthViewModel
import com.bitgoeul.login.viewmodel.util.Event
import com.msg.design_system.R
Expand All @@ -38,9 +35,6 @@ import com.msg.design_system.theme.BitgoeulAndroidTheme
import com.msg.design_system.util.LockScreenOrientation
import com.msg.design_system.util.checkEmailRegex
import com.msg.design_system.util.checkPasswordRegex
import com.msg.model.remote.model.auth.AuthTokenModel
import com.msg.model.remote.request.auth.LoginRequest
import com.msg.model.remote.response.lecture.LectureListResponse
import kotlinx.coroutines.launch

@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package com.bitgoeul.login.viewmodel

import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.bitgoeul.login.viewmodel.util.Event
Expand Down
2 changes: 1 addition & 1 deletion feature/main/src/main/java/com/msg/main/FaqViewModel.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.msg.main

import Authority
import androidx.compose.runtime.mutableStateListOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.msg.datastore.AuthTokenDataSource
import com.msg.main.util.Event
import com.msg.main.util.errorHandling
import Authority
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
Expand Down
2 changes: 1 addition & 1 deletion feature/main/src/main/java/com/msg/main/MainPageScreen.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.msg.main

import Authority
import android.app.Activity
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
Expand Down Expand Up @@ -41,7 +42,6 @@ import com.msg.main.component.HighSchoolCardView
import com.msg.main.component.HorizontalInfiniteBannerLoopPager
import com.msg.main.component.HorizontalInfiniteLoopPager
import com.msg.main.util.Event
import Authority
import com.msg.model.remote.enumdatatype.HighSchool
import com.msg.model.ui.CSTCollegeData
import com.msg.model.ui.DKCollegeData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.example.my_page

import Authority
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand All @@ -22,7 +23,6 @@ import com.example.my_page.component.MyInfoView
import com.example.my_page.util.Event
import com.msg.design_system.component.dialog.NegativeActionDialog
import com.msg.design_system.theme.BitgoeulAndroidTheme
import Authority
import com.msg.model.remote.response.user.InquiryMyPageResponse

@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.example.my_page

import Authority
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.my_page.util.Event
import com.example.my_page.util.errorHandling
import com.msg.domain.auth.LogoutUseCase
import com.msg.domain.auth.WithdrawUseCase
import com.msg.domain.user.ChangePasswordUseCase
import com.msg.domain.user.InquiryMyPageUseCase
import Authority
import com.msg.domain.auth.LogoutUseCase
import com.msg.model.remote.request.user.ChangePasswordRequest
import com.msg.model.remote.response.user.InquiryMyPageResponse
import dagger.hilt.android.lifecycle.HiltViewModel
Expand Down
Loading
Loading