Skip to content
Snippets Groups Projects
Commit 5adac17f authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

optimized imports

parent 035874ef
No related branches found
No related tags found
No related merge requests found
package net.jami.datastore.dao;
import static org.junit.jupiter.api.Assertions.*;
class ContactDaoTest {
}
\ No newline at end of file
package net.jami.datastore.dao;
import static org.junit.jupiter.api.Assertions.*;
class SystemDaoTest {
}
\ No newline at end of file
......@@ -21,7 +21,6 @@ public class UserBuilder {
public static User generateUser(User user) {
try {
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
keyPairGenerator.initialize(4096);
KeyPair keyPair = keyPairGenerator.generateKeyPair();
......
......@@ -10,6 +10,7 @@ import net.jami.jams.common.objects.responses.DeviceRegistrationResponse;
import net.jami.jams.common.objects.user.User;
import net.jami.jams.common.objects.user.UserProfile;
import net.jami.jams.dht.DeviceReceiptGenerator;
import java.security.cert.X509Certificate;
import static net.jami.jams.server.Server.*;
......
......@@ -9,7 +9,6 @@ import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import net.jami.jams.common.dao.StatementElement;
import net.jami.jams.common.dao.StatementList;
import net.jami.jams.common.objects.devices.Device;
import net.jami.jams.common.objects.requests.DeviceRegistrationRequest;
import net.jami.jams.common.objects.responses.DeviceRegistrationResponse;
import net.jami.jams.server.core.workflows.RegisterDeviceFlow;
......
......@@ -8,7 +8,6 @@ import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import net.jami.jams.common.jami.AddrLookupResponse;
import net.jami.jams.common.jami.NameLookupResponse;
import java.io.IOException;
......
......@@ -7,7 +7,6 @@ import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Base64;
import static net.jami.jams.server.Server.certificateAuthority;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment