Skip to content

Commit

Permalink
Clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mars885 committed Jan 7, 2021
1 parent f73fadf commit dc1d3f6
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package com.paulrybitskyi.docskanner

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
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.paulrybitskyi.docskanner

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
Expand Up @@ -16,14 +16,12 @@

package com.paulrybitskyi.docskanner.core

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

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

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

package com.paulrybitskyi.docskanner.core

import org.junit.Test

import org.junit.Assert.*
import org.junit.Test

/**
* Example local unit test, which will execute on the development machine (host).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@

package com.paulrybitskyi.docskanner.data

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

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

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

package com.paulrybitskyi.docskanner.data

import org.junit.Test

import org.junit.Assert.*
import org.junit.Test

/**
* Example local unit test, which will execute on the development machine (host).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@

package com.paulrybitskyi.docskanner.domain

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

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

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

package com.paulrybitskyi.docskanner.domain

import org.junit.Test

import org.junit.Assert.*
import org.junit.Test

/**
* Example local unit test, which will execute on the development machine (host).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package com.paulrybitskyi.docskanner.imageprocessing.detector
import android.graphics.Bitmap
import android.graphics.PointF
import com.paulrybitskyi.docskanner.imageprocessing.utils.*
import com.paulrybitskyi.docskanner.imageprocessing.utils.toMat
import com.paulrybitskyi.docskanner.imageprocessing.utils.toPointF
import org.opencv.core.*
import org.opencv.imgproc.Imgproc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import com.paulrybitskyi.docskanner.imageprocessing.crop.ImagePerspectiveTransfo
import com.paulrybitskyi.docskanner.imageprocessing.crop.OpenCvImagePerspectiveTransformer
import com.paulrybitskyi.docskanner.imageprocessing.crop.transform.CropTransformationFactory
import com.paulrybitskyi.docskanner.imageprocessing.crop.transform.CropTransformationFactoryImpl
import com.paulrybitskyi.docskanner.imageprocessing.detector.*
import com.paulrybitskyi.docskanner.imageprocessing.detector.DocCoordsOrderer
import com.paulrybitskyi.docskanner.imageprocessing.detector.DocCoordsOrdererImpl
import com.paulrybitskyi.docskanner.imageprocessing.detector.DocShapeDetector
import com.paulrybitskyi.docskanner.imageprocessing.detector.OpenCvDocShapeDetector
import com.paulrybitskyi.docskanner.imageprocessing.effects.ImageEffectTransformationFactory
import com.paulrybitskyi.docskanner.imageprocessing.effects.ImageEffectTransformationFactoryImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ package com.paulrybitskyi.docskanner.imageprocessing.effects
import android.graphics.Bitmap
import com.paulrybitskyi.docskanner.imageprocessing.utils.*
import com.paulrybitskyi.docskanner.imageprocessing.utils.applyGrayscaleEffect
import com.paulrybitskyi.docskanner.imageprocessing.utils.createCopy
import com.paulrybitskyi.docskanner.imageprocessing.utils.toBitmap
import com.paulrybitskyi.docskanner.imageprocessing.utils.toMat
import org.opencv.core.CvType
import org.opencv.core.Mat
import org.opencv.imgproc.Imgproc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package com.paulrybitskyi.docskanner.imageprocessing.effects

import com.paulrybitskyi.docskanner.imageloading.Transformation
import com.paulrybitskyi.docskanner.imageprocessing.effects.transforms.SimpleThresholdTransformation
import com.paulrybitskyi.docskanner.imageprocessing.effects.transforms.GrayscaleTransformation
import com.paulrybitskyi.docskanner.imageprocessing.effects.transforms.AdaptiveThresholdTransformation
import com.paulrybitskyi.docskanner.imageprocessing.effects.transforms.GrayscaleTransformation
import com.paulrybitskyi.docskanner.imageprocessing.effects.transforms.SimpleThresholdTransformation
import javax.inject.Inject
import javax.inject.Provider

Expand Down

0 comments on commit dc1d3f6

Please sign in to comment.