Skip to content

Commit 4de9f07

Browse files
committed
commit
1 parent 91c7642 commit 4de9f07

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed

app/src/androidTest/java/com/example/webapplicationwithspring/ExampleInstrumentedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
import android.content.Context;
44

5-
import androidx.test.platform.app.InstrumentationRegistry;
65
import androidx.test.ext.junit.runners.AndroidJUnit4;
6+
import androidx.test.platform.app.InstrumentationRegistry;
77

88
import org.junit.Test;
99
import org.junit.runner.RunWith;
1010

11-
import static org.junit.Assert.*;
11+
import static org.junit.Assert.assertEquals;
1212

1313
/**
1414
* Instrumented test, which will execute on an Android device.

app/src/main/java/com/example/webapplicationwithspring/EventData.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import android.os.AsyncTask;
44

5-
import com.google.gson.JsonObject;
6-
75
import org.json.JSONArray;
86
import org.json.JSONException;
97
import org.json.JSONObject;
@@ -16,8 +14,6 @@
1614
import java.net.MalformedURLException;
1715
import java.net.URL;
1816

19-
import javax.net.ssl.HttpsURLConnection;
20-
2117
public class EventData extends AsyncTask<Void,Void,Void> {
2218
String data = "";
2319
String parsed = "";

app/src/main/java/com/example/webapplicationwithspring/EventsActivity.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.example.webapplicationwithspring;
22

3-
import android.content.Context;
43
import android.content.Intent;
54
import android.os.Bundle;
65
import android.util.Log;
@@ -19,16 +18,13 @@
1918
import com.android.volley.Response;
2019
import com.android.volley.VolleyError;
2120
import com.android.volley.toolbox.JsonArrayRequest;
22-
import com.android.volley.toolbox.JsonObjectRequest;
2321
import com.android.volley.toolbox.Volley;
2422
import com.google.android.material.bottomnavigation.BottomNavigationView;
2523

2624
import org.json.JSONArray;
2725
import org.json.JSONException;
2826
import org.json.JSONObject;
2927

30-
import java.net.MalformedURLException;
31-
3228
public class EventsActivity extends AppCompatActivity {
3329
public static TextView eventData;
3430
private ScrollView scrollView;

app/src/main/res/layout/activity_events.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/constraint_layout"
65
android:layout_width="match_parent"
76
android:layout_height="match_parent">

app/src/test/java/com/example/webapplicationwithspring/ExampleUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import org.junit.Test;
44

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

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

0 commit comments

Comments
 (0)