Skip to content

Commit

Permalink
Clean up code.
Browse files Browse the repository at this point in the history
  • Loading branch information
random1223 committed Sep 22, 2024
1 parent 7716e00 commit 1074671
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
package io.codety.scanner.source.dto;

public class GitRepoDownloadRequestDto {

boolean authenticationRequired;

String accountId;
Long githubInstallationId;
Integer externalGitProviderType; //1:github, 2:gitlab, 3:bitbucket.
String externalGitRepoId;
String gitRepoFullName;
String externalPullRequestId;
String externalPullRequestMergeTargetRef;
String cloneHttpsUrl;
String cloneSshUrl;
String gitBranchRef;
String gitCommitSha;
private boolean authenticationRequired;
private String accountId;
private Long githubInstallationId;
private Integer externalGitProviderType; //1:github, 2:gitlab, 3:bitbucket.
private String externalGitRepoId;
private String gitRepoFullName;
private String externalPullRequestId;
private String externalPullRequestMergeTargetRef;
private String cloneHttpsUrl;
private String cloneSshUrl;
private String gitBranchRef;
private String gitCommitSha;

public boolean isAuthenticationRequired() {
return authenticationRequired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
public class GitRepoDownloadResponseDto {

private boolean success = false;

private String errorMsg;

private String sourcePath;

public String getSourcePath() {
Expand Down

0 comments on commit 1074671

Please sign in to comment.