Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31e359ff87 |
Generated
-10
@@ -1,10 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
# Editor-based HTTP Client requests
|
|
||||||
/httpRequests/
|
|
||||||
# Ignored default folder with query files
|
|
||||||
/queries/
|
|
||||||
# Datasource local storage ignored files
|
|
||||||
/dataSources/
|
|
||||||
/dataSources.local.xml
|
|
||||||
Generated
-13
@@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="CompilerConfiguration">
|
|
||||||
<annotationProcessing>
|
|
||||||
<profile name="Maven default annotation processors profile" enabled="true">
|
|
||||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
|
||||||
<outputRelativeToContentRoot value="true" />
|
|
||||||
<module name="WS-07-Multithreading-Basics-and-Hashing" />
|
|
||||||
</profile>
|
|
||||||
</annotationProcessing>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
-7
@@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="Encoding">
|
|
||||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
-20
@@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="RemoteRepositoriesConfiguration">
|
|
||||||
<remote-repository>
|
|
||||||
<option name="id" value="central" />
|
|
||||||
<option name="name" value="Central Repository" />
|
|
||||||
<option name="url" value="https://maven.devneeds.ir/" />
|
|
||||||
</remote-repository>
|
|
||||||
<remote-repository>
|
|
||||||
<option name="id" value="central" />
|
|
||||||
<option name="name" value="Maven Central repository" />
|
|
||||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
||||||
</remote-repository>
|
|
||||||
<remote-repository>
|
|
||||||
<option name="id" value="jboss.community" />
|
|
||||||
<option name="name" value="JBoss Community repository" />
|
|
||||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
||||||
</remote-repository>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
-12
@@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
|
||||||
<component name="MavenProjectsManager">
|
|
||||||
<option name="originalFiles">
|
|
||||||
<list>
|
|
||||||
<option value="$PROJECT_DIR$/pom.xml" />
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="26" project-jdk-type="JavaSDK" />
|
|
||||||
</project>
|
|
||||||
Generated
-6
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
+20
-141
@@ -1,34 +1,22 @@
|
|||||||
package dev;
|
package dev;
|
||||||
|
|
||||||
|
|
||||||
import dev.model.Student;
|
|
||||||
import dev.service.StudentManager;
|
import dev.service.StudentManager;
|
||||||
import dev.thread.StudentLoader;
|
import dev.thread.StudentLoader;
|
||||||
import dev.utils.FileManager;
|
import dev.utils.FileManager;
|
||||||
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Scanner;
|
import java.util.Scanner;
|
||||||
|
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
|
||||||
|
|
||||||
Scanner scanner = new Scanner(System.in);
|
Scanner scanner = new Scanner(System.in);
|
||||||
|
|
||||||
|
StudentManager manager = new StudentManager();
|
||||||
StudentManager manager =
|
|
||||||
new StudentManager();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
||||||
|
|
||||||
System.out.println("""
|
System.out.println("""
|
||||||
1.Load students
|
1.Load students
|
||||||
2.Search student
|
2.Search student
|
||||||
@@ -37,180 +25,71 @@ public class Main {
|
|||||||
5.Exit
|
5.Exit
|
||||||
""");
|
""");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int choice = scanner.nextInt();
|
int choice = scanner.nextInt();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case 1 -> {
|
case 1 -> {
|
||||||
|
|
||||||
|
List<String> data = FileManager.loadStudents("students.txt");
|
||||||
|
|
||||||
List<String> data =
|
// TODO:
|
||||||
FileManager.loadStudents("students.txt");
|
|
||||||
|
|
||||||
|
// Split data into 3 parts
|
||||||
|
|
||||||
|
List<String> part1 = null;
|
||||||
|
|
||||||
int size = data.size();
|
List<String> part2 = null;
|
||||||
|
|
||||||
|
List<String> part3 = null;
|
||||||
|
|
||||||
int part = (int)Math.ceil(size / 3.0);
|
// TODO:
|
||||||
|
|
||||||
|
StudentLoader t1 = null;
|
||||||
|
|
||||||
|
StudentLoader t2 = null;
|
||||||
|
|
||||||
List<String> part1 =
|
StudentLoader t3 = null;
|
||||||
data.subList(
|
|
||||||
0,
|
|
||||||
Math.min(part,size)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
|
||||||
List<String> part2 =
|
// start()
|
||||||
data.subList(
|
|
||||||
Math.min(part,size),
|
|
||||||
Math.min(part*2,size)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
// join()
|
||||||
|
|
||||||
List<String> part3 =
|
// merge results
|
||||||
data.subList(
|
|
||||||
Math.min(part*2,size),
|
|
||||||
size
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
StudentLoader t1 =
|
|
||||||
new StudentLoader(part1);
|
|
||||||
|
|
||||||
|
|
||||||
StudentLoader t2 =
|
|
||||||
new StudentLoader(part2);
|
|
||||||
|
|
||||||
|
|
||||||
StudentLoader t3 =
|
|
||||||
new StudentLoader(part3);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
t1.start();
|
|
||||||
|
|
||||||
t2.start();
|
|
||||||
|
|
||||||
t3.start();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
t1.join();
|
|
||||||
|
|
||||||
t2.join();
|
|
||||||
|
|
||||||
t3.join();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ArrayList<Student> finalList =
|
|
||||||
new ArrayList<>();
|
|
||||||
|
|
||||||
|
|
||||||
finalList.addAll(t1.getStudents());
|
|
||||||
|
|
||||||
finalList.addAll(t2.getStudents());
|
|
||||||
|
|
||||||
finalList.addAll(t3.getStudents());
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
manager.addStudents(finalList);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
System.out.println(
|
|
||||||
"Students loaded: "
|
|
||||||
+ finalList.size()
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case 2 -> {
|
case 2 -> {
|
||||||
|
|
||||||
|
|
||||||
System.out.print("ID: ");
|
System.out.print("ID: ");
|
||||||
|
|
||||||
|
|
||||||
int id = scanner.nextInt();
|
int id = scanner.nextInt();
|
||||||
|
|
||||||
|
System.out.println(manager.searchStudent(id));
|
||||||
|
|
||||||
Student student =
|
|
||||||
manager.searchStudent(id);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(student != null){
|
|
||||||
|
|
||||||
System.out.println("Found:");
|
|
||||||
|
|
||||||
System.out.println(student);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
else{
|
|
||||||
|
|
||||||
System.out.println("Student not found.");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case 3 -> {
|
case 3 -> {
|
||||||
|
|
||||||
|
|
||||||
System.out.print("ID: ");
|
System.out.print("ID: ");
|
||||||
|
|
||||||
|
|
||||||
int id = scanner.nextInt();
|
int id = scanner.nextInt();
|
||||||
|
|
||||||
|
boolean removed = manager.removeStudent(id);
|
||||||
|
|
||||||
System.out.println(
|
System.out.println(removed);
|
||||||
manager.removeStudent(id)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 4 ->
|
||||||
|
manager.printStudents();
|
||||||
case 4 -> {
|
|
||||||
|
|
||||||
|
|
||||||
manager.printStudents();
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case 5 -> {
|
case 5 -> {
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,11 +3,18 @@ package dev.model;
|
|||||||
public class Student {
|
public class Student {
|
||||||
|
|
||||||
private final int id;
|
private final int id;
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|
||||||
private final String major;
|
private final String major;
|
||||||
|
|
||||||
private final double gpa;
|
private final double gpa;
|
||||||
|
|
||||||
public Student(int id, String name, String major, double gpa) {
|
public Student(
|
||||||
|
int id,
|
||||||
|
String name,
|
||||||
|
String major,
|
||||||
|
double gpa) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
@@ -31,35 +38,35 @@ public class Student {
|
|||||||
return gpa;
|
return gpa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
|
|
||||||
return id % 97;
|
// TODO:
|
||||||
}
|
// Return custom hash
|
||||||
|
|
||||||
|
// Example:
|
||||||
|
// return id % 97;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
|
|
||||||
if (obj == null) {
|
// TODO:
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this == obj) {
|
// Step 1:
|
||||||
return true;
|
// Check null
|
||||||
}
|
|
||||||
|
|
||||||
if (getClass() != obj.getClass()) {
|
// Step 2:
|
||||||
return false;
|
// Convert obj to Student
|
||||||
}
|
|
||||||
|
|
||||||
Student other = (Student) obj;
|
// Step 3:
|
||||||
|
// Compare IDs
|
||||||
|
|
||||||
return id == other.id;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|
||||||
@@ -70,4 +77,5 @@ public class Student {
|
|||||||
", gpa=" + gpa +
|
", gpa=" + gpa +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -4,58 +4,46 @@ import dev.model.Student;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class StudentManager {
|
|
||||||
|
|
||||||
|
public class StudentManager {
|
||||||
|
|
||||||
private final ArrayList<Student> students = new ArrayList<>();
|
private final ArrayList<Student> students = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
public void addStudents(ArrayList<Student> newStudents) {
|
public void addStudents(ArrayList<Student> newStudents) {
|
||||||
|
|
||||||
students.addAll(newStudents);
|
// TODO:
|
||||||
|
|
||||||
|
// Merge students
|
||||||
|
|
||||||
|
// Hint:
|
||||||
|
// addAll()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Student searchStudent(int id) {
|
public Student searchStudent(int id) {
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
|
||||||
for (Student student : students) {
|
// Loop through students
|
||||||
|
|
||||||
|
|
||||||
if (student.getId() == id) {
|
|
||||||
|
|
||||||
return student;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// Compare IDs
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public boolean removeStudent(int id) {
|
public boolean removeStudent(int id) {
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
|
||||||
Student student = searchStudent(id);
|
// Find student
|
||||||
|
|
||||||
|
|
||||||
if (student != null) {
|
|
||||||
|
|
||||||
students.remove(student);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// Remove student
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void printStudents() {
|
public void printStudents() {
|
||||||
|
|
||||||
|
|
||||||
for (Student student : students) {
|
for (Student student : students) {
|
||||||
|
|
||||||
System.out.println(student);
|
System.out.println(student);
|
||||||
|
|||||||
@@ -1,58 +1,56 @@
|
|||||||
package dev.thread;
|
package dev.thread;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import dev.model.Student;
|
import dev.model.Student;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
public class StudentLoader extends Thread {
|
public class StudentLoader extends Thread {
|
||||||
|
|
||||||
|
// Assigned file lines
|
||||||
|
|
||||||
private final List<String> lines;
|
private final List<String> lines;
|
||||||
|
|
||||||
|
// Local student storage
|
||||||
|
|
||||||
private final ArrayList<Student> students = new ArrayList<>();
|
private final ArrayList<Student> students = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
public StudentLoader(List<String> lines) {
|
public StudentLoader(List<String> lines) {
|
||||||
|
|
||||||
this.lines = lines;
|
this.lines = lines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
|
||||||
|
/*
|
||||||
|
Example line:
|
||||||
|
|
||||||
|
1001,Aryan,Computer Science,3.7
|
||||||
|
*/
|
||||||
|
|
||||||
for (String line : lines) {
|
for (String line : lines) {
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
// split line
|
||||||
|
|
||||||
String[] data = line.split(",");
|
// TODO:
|
||||||
|
// read values
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
// create Student
|
||||||
|
|
||||||
int id = Integer.parseInt(data[0]);
|
// TODO:
|
||||||
|
// add to students list
|
||||||
String name = data[1];
|
|
||||||
|
|
||||||
String major = data[2];
|
|
||||||
|
|
||||||
double gpa = Double.parseDouble(data[3]);
|
|
||||||
|
|
||||||
|
|
||||||
Student student =
|
|
||||||
new Student(id, name, major, gpa);
|
|
||||||
|
|
||||||
|
|
||||||
students.add(student);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ArrayList<Student> getStudents() {
|
public ArrayList<Student> getStudents() {
|
||||||
|
|
||||||
return students;
|
return students;
|
||||||
|
|||||||
@@ -1,46 +1,31 @@
|
|||||||
package dev.utils;
|
package dev.utils;
|
||||||
|
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.FileReader;
|
import java.io.FileReader;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
public class FileManager {
|
public class FileManager {
|
||||||
|
|
||||||
|
public static List<String> loadStudents(String path) throws Exception {
|
||||||
public static List<String> loadStudents(String path)
|
|
||||||
throws Exception {
|
|
||||||
|
|
||||||
|
|
||||||
List<String> lines = new ArrayList<>();
|
List<String> lines = new ArrayList<>();
|
||||||
|
|
||||||
|
BufferedReader reader = new BufferedReader(new FileReader(path));
|
||||||
BufferedReader reader =
|
|
||||||
new BufferedReader(
|
|
||||||
new FileReader(path)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
String line;
|
String line;
|
||||||
|
|
||||||
|
|
||||||
while ((line = reader.readLine()) != null) {
|
while ((line = reader.readLine()) != null) {
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
|
||||||
if (!line.isEmpty()) {
|
// Add line to list
|
||||||
|
|
||||||
lines.add(line);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
reader.close();
|
reader.close();
|
||||||
|
|
||||||
|
|
||||||
return lines;
|
return lines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public class JoinSimpleExample {
|
|||||||
System.out.println("The main thread waits until the worker finishes...");
|
System.out.println("The main thread waits until the worker finishes...");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
worker.join();
|
worker.join(); // The main thread stops here until the worker finishes
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,36 +1,25 @@
|
|||||||
package lecture.multithreading.timeout;
|
package lecture.multithreading.timeout;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Scanner;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String[] args) throws InterruptedException {
|
public static void main(String[] args) {
|
||||||
|
|
||||||
Thread worker = new Thread(new Runnable() {
|
Scanner scanner = new Scanner(System.in);
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
System.out.println("👷 Worker started...");
|
|
||||||
try {
|
|
||||||
Thread.sleep(10000); // Runs for 10 seconds
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
System.out.println("🛑 Worker was interrupted!");
|
|
||||||
}
|
|
||||||
System.out.println("👷 Worker finished!");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
worker.start();
|
System.out.println("you have 10 seconds: ");
|
||||||
|
System.out.print("enter your name: ");
|
||||||
|
|
||||||
System.out.println("Main: waiting max 3 seconds for worker...");
|
MyRunnable myRunnable = new MyRunnable();
|
||||||
|
Thread thread = new Thread(myRunnable);
|
||||||
|
thread.setDaemon(true);
|
||||||
|
thread.start();
|
||||||
|
|
||||||
// join with timeout (in milliseconds)
|
String name = scanner.nextLine();
|
||||||
worker.join(3000);
|
System.out.println("hello " + name);
|
||||||
|
|
||||||
if (worker.isAlive()) {
|
scanner.close();
|
||||||
System.out.println("⏰ Timeout reached! Worker is still running.");
|
|
||||||
System.out.println("Main: I'm not waiting anymore, continuing...");
|
|
||||||
} else {
|
|
||||||
System.out.println("Worker finished before timeout.");
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("Main thread continues its own work now.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package lecture.multithreading.timeout;
|
||||||
|
|
||||||
|
public class MyRunnable implements Runnable{
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(){
|
||||||
|
|
||||||
|
for (int i = 1; i <= 10 ; i++){
|
||||||
|
try {
|
||||||
|
Thread.sleep(1000);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
System.out.println("thread was interrupted");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(i == 10){
|
||||||
|
System.out.println("time is up");
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user