Skip to content

Commit

Permalink
Remove unused import (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Nov 18, 2023
1 parent 7bb9615 commit b9bdd77
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 39 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/gitlab4j/api/GroupApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.ws.rs.core.Form;
Expand All @@ -25,7 +24,6 @@
import org.gitlab4j.api.models.GroupFilter;
import org.gitlab4j.api.models.GroupParams;
import org.gitlab4j.api.models.GroupProjectsFilter;
import org.gitlab4j.api.models.ImpersonationToken;
import org.gitlab4j.api.models.ImpersonationToken.Scope;
import org.gitlab4j.api.models.Iteration;
import org.gitlab4j.api.models.IterationFilter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
package org.gitlab4j.api.models;

import java.util.Date;
import java.util.List;

import org.gitlab4j.api.utils.JacksonJson;

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/gitlab4j/api/models/GpgKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class GpgKey {

private Long id;
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/gitlab4j/api/models/Link.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

import org.gitlab4j.api.utils.JacksonJson;

import java.util.Date;
import java.util.List;

public class Link {

private Integer id;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/gitlab4j/api/models/PackageFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import org.gitlab4j.api.utils.JacksonJson;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class PackageFile {

private Long id;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gitlab4j/api/models/Pipeline.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gitlab4j.api.models;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;

import org.gitlab4j.api.utils.JacksonJson;

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/gitlab4j/api/models/ProjectAccessToken.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.gitlab4j.api.models;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.gitlab4j.api.Constants;
import org.gitlab4j.api.utils.JacksonJson;

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/gitlab4j/api/models/PushData.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import org.gitlab4j.api.Constants.ActionType;
import org.gitlab4j.api.utils.JacksonJson;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class PushData {

private Integer commitCount;
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/gitlab4j/api/models/ReleaseLinkParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

import org.gitlab4j.api.utils.JacksonJson;

import java.util.Date;
import java.util.List;

public class ReleaseLinkParams {

private String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@

package org.gitlab4j.api.models;

import java.util.Base64;

import org.gitlab4j.api.Constants.Encoding;
import org.gitlab4j.api.utils.JacksonJson;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class RepositoryFileResponse {

private String filePath; // full path to file. Ex. lib/class.rb
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/gitlab4j/api/webhook/BuildEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

import java.util.Date;

import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
* The documentation at: <a href="https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#job-events">
* Job Events</a> is incorrect, this class represents the actual content of the Job Hook event.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.gitlab4j.api.webhook;

import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

public class DeploymentEvent extends AbstractEvent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.List;

import org.gitlab4j.api.models.Assignee;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;
import org.gitlab4j.api.webhook.MergeRequestEvent.ObjectAttributes;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gitlab4j/api/webhook/IssueEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.List;

import org.gitlab4j.api.models.Assignee;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

public class IssueEvent extends AbstractEvent {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/gitlab4j/api/webhook/JobEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

import java.util.Date;

import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class JobEvent extends AbstractEvent {

public static final String JOB_HOOK_X_GITLAB_EVENT = "Job Hook";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import org.gitlab4j.api.models.Assignee;
import org.gitlab4j.api.models.Reviewer;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

public class MergeRequestEvent extends AbstractEvent {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gitlab4j/api/webhook/NoteEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.Date;

import org.gitlab4j.api.models.Diff;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;
import org.gitlab4j.api.utils.JacksonJsonEnumHelper;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gitlab4j/api/webhook/PipelineEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.List;

import org.gitlab4j.api.models.Job;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.models.Variable;
import org.gitlab4j.api.utils.JacksonJson;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/gitlab4j/api/webhook/WikiPageEvent.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.gitlab4j.api.webhook;

import org.gitlab4j.api.models.User;
import org.gitlab4j.api.utils.JacksonJson;

public class WikiPageEvent extends AbstractEvent {
Expand Down
3 changes: 0 additions & 3 deletions src/test/java/org/gitlab4j/api/TestProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
Expand All @@ -46,13 +45,11 @@
import org.gitlab4j.api.models.Group;
import org.gitlab4j.api.models.Member;
import org.gitlab4j.api.models.Project;
import org.gitlab4j.api.models.ProjectAccessToken;
import org.gitlab4j.api.models.ProjectFetches;
import org.gitlab4j.api.models.ProjectFilter;
import org.gitlab4j.api.models.User;
import org.gitlab4j.api.models.Variable;
import org.gitlab4j.api.models.Visibility;
import org.gitlab4j.api.utils.ISO8601;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
Expand Down

0 comments on commit b9bdd77

Please sign in to comment.