Skip to content

Commit 5e7e9fc

Browse files
committed
Removed unwanted imports
1 parent 00a3db0 commit 5e7e9fc

9 files changed

Lines changed: 25 additions & 21 deletions

File tree

app/src/androidTest/java/com/devs/vectorchildfinderdemo/ExampleInstrumentedTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
package com.devs.vectorchildfinderdemo;
22

3+
import static org.junit.Assert.assertEquals;
4+
35
import android.content.Context;
4-
import androidx.test.platform.app.InstrumentationRegistry;
6+
57
import androidx.test.ext.junit.runners.AndroidJUnit4;
8+
import androidx.test.platform.app.InstrumentationRegistry;
69

710
import org.junit.Test;
811
import org.junit.runner.RunWith;
912

10-
import static org.junit.Assert.*;
11-
1213
/**
1314
* Instrumented test, which will execute on an Android device.
1415
*

app/src/main/java/com/devs/vectorchildfinderdemo/MainActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package com.devs.vectorchildfinderdemo;
22

3-
import androidx.appcompat.app.AppCompatActivity;
43
import android.os.Bundle;
54
import android.view.View;
65
import android.widget.ImageView;
76

7+
import androidx.appcompat.app.AppCompatActivity;
8+
89
import com.devs.vectorchildfinder.VectorChildFinder;
910
import com.devs.vectorchildfinder.VectorDrawableCompat;
1011
//import android.support.graphics.drawable.VectorDrawableCompat;

app/src/main/res/layout/activity_main.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
4-
xmlns:tools="http://schemas.android.com/tools"
54
android:id="@+id/relativeLayout"
65
android:layout_width="match_parent"
76
android:layout_height="match_parent">

app/src/test/java/com/devs/vectorchildfinderdemo/ExampleUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.devs.vectorchildfinderdemo;
22

3-
import org.junit.Test;
3+
import static org.junit.Assert.assertEquals;
44

5-
import static org.junit.Assert.*;
5+
import org.junit.Test;
66

77
/**
88
* Example local unit test, which will execute on the development machine (host).

vectorchildfinder/src/androidTest/java/com/devs/vectorchildfinder/ExampleInstrumentedTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
package com.devs.vectorchildfinder;
22

3+
import static org.junit.Assert.assertEquals;
4+
35
import android.content.Context;
4-
import androidx.test.platform.app.InstrumentationRegistry;
6+
57
import androidx.test.ext.junit.runners.AndroidJUnit4;
8+
import androidx.test.platform.app.InstrumentationRegistry;
69

710
import org.junit.Test;
811
import org.junit.runner.RunWith;
912

10-
import static org.junit.Assert.*;
11-
1213
/**
1314
* Instrumented test, which will execute on an Android device.
1415
*
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
1+
<manifest />

vectorchildfinder/src/main/java/com/devs/vectorchildfinder/VectorDrawableCommon.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
import android.graphics.Rect;
1111
import android.graphics.Region;
1212
import android.graphics.drawable.Drawable;
13-
import androidx.core.graphics.drawable.DrawableCompat;
1413
import android.util.AttributeSet;
1514

15+
import androidx.core.graphics.drawable.DrawableCompat;
16+
1617
/**
1718
* Internal common delegation shared by VectorDrawableCompat and AnimatedVectorDrawableCompat
1819
*/

vectorchildfinder/src/main/java/com/devs/vectorchildfinder/VectorDrawableCompat.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* the License.
1919
*/
2020

21+
import static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP;
22+
2123
import android.annotation.SuppressLint;
2224
import android.content.res.ColorStateList;
2325
import android.content.res.Resources;
@@ -37,17 +39,18 @@
3739
import android.graphics.drawable.Drawable;
3840
import android.graphics.drawable.VectorDrawable;
3941
import android.os.Build;
42+
import android.util.AttributeSet;
43+
import android.util.LayoutDirection;
44+
import android.util.Log;
45+
import android.util.Xml;
46+
4047
import androidx.annotation.DrawableRes;
4148
import androidx.annotation.NonNull;
4249
import androidx.annotation.Nullable;
4350
import androidx.annotation.RequiresApi;
4451
import androidx.annotation.RestrictTo;
45-
import androidx.core.graphics.drawable.DrawableCompat;
4652
import androidx.collection.ArrayMap;
47-
import android.util.AttributeSet;
48-
import android.util.LayoutDirection;
49-
import android.util.Log;
50-
import android.util.Xml;
53+
import androidx.core.graphics.drawable.DrawableCompat;
5154

5255
import org.xmlpull.v1.XmlPullParser;
5356
import org.xmlpull.v1.XmlPullParserException;
@@ -56,8 +59,6 @@
5659
import java.util.ArrayList;
5760
import java.util.Stack;
5861

59-
import static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP;
60-
6162

6263
public class VectorDrawableCompat extends VectorDrawableCommon {
6364
static final String LOGTAG = "VectorDrawableCompat";

vectorchildfinder/src/test/java/com/devs/vectorchildfinder/ExampleUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.devs.vectorchildfinder;
22

3-
import org.junit.Test;
3+
import static org.junit.Assert.assertEquals;
44

5-
import static org.junit.Assert.*;
5+
import org.junit.Test;
66

77
/**
88
* Example local unit test, which will execute on the development machine (host).

0 commit comments

Comments
 (0)