Skip to content

Commit a5183e8

Browse files
committed
Delete unused method
1 parent 54fd9ba commit a5183e8

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

src/org/labkey/test/util/APIUserHelper.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.labkey.remoteapi.SimplePostCommand;
3232
import org.labkey.remoteapi.security.CreateUserCommand;
3333
import org.labkey.remoteapi.security.CreateUserResponse;
34-
import org.labkey.remoteapi.security.DeleteUserCommand;
3534
import org.labkey.remoteapi.security.GetUsersCommand;
3635
import org.labkey.remoteapi.security.GetUsersResponse;
3736
import org.labkey.remoteapi.security.GetUsersResponse.UserInfo;
@@ -58,6 +57,7 @@
5857
public class APIUserHelper extends AbstractUserHelper
5958
{
6059
private final Supplier<Connection> connectionSupplier;
60+
6161
public APIUserHelper(Supplier<Connection> connectionSupplier)
6262
{
6363
super(null);
@@ -223,19 +223,6 @@ protected void _deleteUser(String userEmail)
223223
deleteUsers(false, userEmail);
224224
}
225225

226-
private void deleteUser(@NotNull Integer userId)
227-
{
228-
DeleteUserCommand command = new DeleteUserCommand(userId);
229-
try
230-
{
231-
command.execute(connectionSupplier.get(), "/");
232-
}
233-
catch (IOException|CommandException e)
234-
{
235-
throw new RuntimeException(e);
236-
}
237-
}
238-
239226
@Override
240227
protected void _deleteUsers(boolean failIfNotFound, String... userEmails)
241228
{

0 commit comments

Comments
 (0)