Skip to content

Commit

Permalink
applying spotless and detekt MIFOSAC-321
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkeye14 committed Dec 27, 2024
1 parent 60736c7 commit e6b9364
Show file tree
Hide file tree
Showing 142 changed files with 201 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.objects.group.Center
import rx.Subscriber
import rx.android.schedulers.AndroidSchedulers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.network.datamanager.DataManagerCharge
import com.mifos.core.objects.client.Charges
import com.mifos.core.modelobjects.clients.Page
import kotlinx.coroutines.suspendCancellableCoroutine
import rx.Subscriber
import rx.android.schedulers.AndroidSchedulers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ package com.mifos.core.data.pagingSource

import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.objects.client.Client
import com.mifos.core.modelobjects.clients.Page
import rx.Subscriber
import rx.android.schedulers.AndroidSchedulers
import rx.schedulers.Schedulers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.clients.ActivatePayload
import com.mifos.core.network.GenericResponse
import org.openapitools.client.models.PostCentersCenterIdResponse
import org.openapitools.client.models.PostClientsClientIdResponse
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.payloads.ChargesPayload
import com.mifos.core.modelobjects.clients.ChargeCreationResponse
import com.mifos.core.modelobjects.template.client.ChargeTemplate
import com.mifos.core.payloads.ChargesPayload

/**
* Created by Aditya Gupta on 13/08/23.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.checkerinboxtask.CheckerInboxSearchTemplate
import com.mifos.core.modelobjects.checkerinboxtask.CheckerTask
import com.mifos.core.network.GenericResponse

interface CheckerInboxRepository {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
package com.mifos.core.data.repository

import androidx.paging.PagingData
import com.mifos.core.objects.client.Client
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.objects.client.Client
import kotlinx.coroutines.flow.Flow
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.modelobjects.responses.SaveResponse
import com.mifos.core.objects.group.GroupPayload
import com.mifos.core.objects.organisation.Office
import com.mifos.core.modelobjects.responses.SaveResponse
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.payloads.GroupLoanPayload
import com.mifos.core.data.LoansPayload
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.objects.client.Client
import com.mifos.core.objects.client.ClientPayload
import com.mifos.core.payloads.GroupLoanPayload
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.noncoreobjects.Document
import com.mifos.core.network.GenericResponse
import okhttp3.ResponseBody

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.modelobjects.collectionsheets.CollectionSheetRequestPayload
import com.mifos.core.network.GenericResponse
import com.mifos.core.objects.collectionsheet.CenterDetail
import com.mifos.core.objects.collectionsheet.CollectionSheetPayload
import com.mifos.core.modelobjects.collectionsheets.CollectionSheetRequestPayload
import com.mifos.core.objects.collectionsheet.CollectionSheetResponse
import com.mifos.core.objects.collectionsheet.ProductiveCollectionSheetPayload
import com.mifos.core.objects.group.Center
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.payloads.GroupLoanPayload
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.modelobjects.template.loan.GroupLoanTemplate
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.payloads.GroupLoanPayload
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.account.loan.LoanApproval
import com.mifos.core.network.GenericResponse
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.account.loan.LoanDisbursement
import com.mifos.core.network.GenericResponse
import com.mifos.core.objects.templates.loans.LoanTransactionTemplate
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
package com.mifos.core.data.repository

import com.mifos.core.data.LoansPayload
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.modelobjects.organisations.LoanProducts
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.objects.templates.loans.LoanTemplate
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.payloads.ChargesPayload
import com.mifos.core.modelobjects.clients.ChargeCreationResponse
import com.mifos.core.payloads.ChargesPayload
import okhttp3.ResponseBody

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.objects.accounts.loan.LoanRepaymentRequest
import com.mifos.core.modelobjects.account.loan.LoanRepaymentResponse
import com.mifos.core.objects.accounts.loan.LoanRepaymentRequest
import com.mifos.core.objects.templates.loans.LoanRepaymentTemplate
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.clients.ClientAddressRequest
import com.mifos.core.modelobjects.clients.ClientAddressResponse
import com.mifos.core.network.GenericResponse

/**
* Created by Aditya Gupta on 08/08/23.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.network.GenericResponse
import com.mifos.core.modelobjects.account.loan.SavingsApproval
import com.mifos.core.network.GenericResponse
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.payloads.SavingsPayload
import com.mifos.core.objects.client.Savings
import com.mifos.core.modelobjects.organisations.ProductSavings
import com.mifos.core.objects.client.Savings
import com.mifos.core.objects.templates.savings.SavingProductsTemplate
import com.mifos.core.payloads.SavingsPayload
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.objects.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.modelobjects.account.saving.SavingsAccountTransactionResponse
import com.mifos.core.objects.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.objects.templates.savings.SavingsAccountTransactionTemplate
import rx.Observable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.objects.group.GroupPayload
import com.mifos.core.modelobjects.responses.SaveResponse
import com.mifos.core.objects.group.GroupPayload
import rx.Observable

interface SyncGroupPayloadsRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.objects.accounts.loan.LoanRepaymentRequest
import com.mifos.core.modelobjects.account.loan.LoanRepaymentResponse
import com.mifos.core.objects.accounts.loan.LoanRepaymentRequest
import rx.Observable

interface SyncLoanRepaymentTransactionRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/
package com.mifos.core.data.repository

import com.mifos.core.objects.accounts.savings.SavingsAccountTransactionRequest
import com.mifos.core.modelobjects.account.saving.SavingsAccountTransactionResponse
import com.mifos.core.objects.accounts.savings.SavingsAccountTransactionRequest
import rx.Observable

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.ActivateRepository
import com.mifos.core.modelobjects.clients.ActivatePayload
import com.mifos.core.network.GenericResponse
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.network.datamanager.DataManagerGroups
import com.mifos.core.modelobjects.clients.ActivatePayload
import org.openapitools.client.models.PostCentersCenterIdResponse
import org.openapitools.client.models.PostClientsClientIdResponse
import rx.Observable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.CenterDetailsRepository
import com.mifos.core.modelobjects.groups.CenterInfo
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.network.datamanager.DataManagerRunReport
import com.mifos.core.modelobjects.groups.CenterInfo
import com.mifos.core.objects.group.CenterWithAssociations
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import androidx.paging.PagingConfig
import androidx.paging.PagingData
import com.mifos.core.data.pagingSource.CenterListPagingSource
import com.mifos.core.data.repository.CenterListRepository
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.objects.group.Center
import com.mifos.core.objects.group.CenterWithAssociations
import kotlinx.coroutines.flow.Flow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/
package com.mifos.core.data.repositoryImp

import com.mifos.core.payloads.ChargesPayload
import com.mifos.core.data.repository.ChargeDialogRepository
import com.mifos.core.network.DataManager
import com.mifos.core.modelobjects.clients.ChargeCreationResponse
import com.mifos.core.modelobjects.template.client.ChargeTemplate
import com.mifos.core.network.DataManager
import com.mifos.core.payloads.ChargesPayload
import javax.inject.Inject

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.CheckerInboxRepository
import com.mifos.core.network.GenericResponse
import com.mifos.core.network.datamanager.DataManagerCheckerInbox
import com.mifos.core.modelobjects.checkerinboxtask.CheckerInboxSearchTemplate
import com.mifos.core.modelobjects.checkerinboxtask.CheckerTask
import com.mifos.core.network.GenericResponse
import com.mifos.core.network.datamanager.DataManagerCheckerInbox
import javax.inject.Inject

class CheckerInboxRepositoryImp @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.CheckerInboxTasksRepository
import com.mifos.core.network.datamanager.DataManagerCheckerInbox
import com.mifos.core.modelobjects.checkerinboxtask.CheckerTask
import com.mifos.core.modelobjects.checkerinboxtask.RescheduleLoansTask
import com.mifos.core.network.datamanager.DataManagerCheckerInbox
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.ClientIdentifierDialogRepository
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.modelobjects.noncoreobjects.IdentifierCreationResponse
import com.mifos.core.modelobjects.noncoreobjects.IdentifierPayload
import com.mifos.core.modelobjects.noncoreobjects.IdentifierTemplate
import com.mifos.core.network.datamanager.DataManagerClient
import javax.inject.Inject

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.ClientIdentifiersRepository
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.modelobjects.noncoreobjects.Identifier
import com.mifos.core.network.datamanager.DataManagerClient
import org.openapitools.client.models.DeleteClientsClientIdIdentifiersIdentifierIdResponse
import javax.inject.Inject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import androidx.paging.PagingConfig
import androidx.paging.PagingData
import com.mifos.core.data.pagingSource.ClientListPagingSource
import com.mifos.core.data.repository.ClientListRepository
import com.mifos.core.modelobjects.clients.Page
import com.mifos.core.network.datamanager.DataManagerClient
import com.mifos.core.objects.client.Client
import com.mifos.core.modelobjects.clients.Page
import kotlinx.coroutines.flow.Flow
import rx.Observable
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ package com.mifos.core.data.repositoryImp

import com.mifos.core.data.CenterPayload
import com.mifos.core.data.repository.CreateNewCenterRepository
import com.mifos.core.network.datamanager.DataManagerCenter
import com.mifos.core.modelobjects.responses.SaveResponse
import com.mifos.core.network.datamanager.DataManagerCenter
import rx.Observable
import javax.inject.Inject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
package com.mifos.core.data.repositoryImp

import com.mifos.core.data.repository.CreateNewGroupRepository
import com.mifos.core.modelobjects.responses.SaveResponse
import com.mifos.core.network.datamanager.DataManagerGroups
import com.mifos.core.network.datamanager.DataManagerOffices
import com.mifos.core.objects.group.GroupPayload
import com.mifos.core.objects.organisation.Office
import com.mifos.core.modelobjects.responses.SaveResponse
import rx.Observable
import javax.inject.Inject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
package com.mifos.core.data.repositoryImp

import com.mifos.core.payloads.GroupLoanPayload
import com.mifos.core.data.LoansPayload
import com.mifos.core.data.repository.DataTableListRepository
import com.mifos.core.network.DataManager
Expand All @@ -18,6 +17,7 @@ import com.mifos.core.network.datamanager.DataManagerLoan
import com.mifos.core.objects.accounts.loan.Loans
import com.mifos.core.objects.client.Client
import com.mifos.core.objects.client.ClientPayload
import com.mifos.core.payloads.GroupLoanPayload
import rx.Observable
import javax.inject.Inject

Expand Down
Loading

0 comments on commit e6b9364

Please sign in to comment.