Skip to content

Commit

Permalink
Fix serialVersionUID
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Dec 27, 2021
1 parent f6d038e commit 7ad183a
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
public class BlameScmRequest
extends ScmRequest
{
private static final long serialVersionUID = 8257038591897128936L;

/**
* -w option for git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class BlameScmResult
extends ScmResult
{
private static final long serialVersionUID = -3877526036464636595L;

private List<BlameLine> lines;

public BlameScmResult( String commandLine, List<BlameLine> lines )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
public class BranchScmResult
extends ScmResult
{
/**
*
*/
private static final long serialVersionUID = -4241972929129557932L;

private List<ScmFile> branchedFiles;

public BranchScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class ChangeLogScmResult
extends ScmResult
{
private static final long serialVersionUID = 559431861541372265L;

private ChangeLogSet changeLog;

public ChangeLogScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class EditScmResult
extends ScmResult
{
private static final long serialVersionUID = -6274938710679161288L;

private List<ScmFile> editFiles;

public EditScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
public class ExportScmResult
extends ScmResult
{

private static final long serialVersionUID = 8564643361304165292L;

private List<ScmFile> exportedFiles;

public ExportScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
public class ExportScmResultWithRevision
extends ExportScmResult
{

private static final long serialVersionUID = -7962912849216079039L;

private String revision;

public ExportScmResultWithRevision( String commandLine, String providerMessage, String commandOutput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
public class InfoScmResult
extends ScmResult
{

private static final long serialVersionUID = 955993340040530451L;

private List<InfoItem> infoItems;

public InfoScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down Expand Up @@ -61,7 +61,7 @@ public InfoScmResult( ScmResult result )
{
super( result );
}

public List<InfoItem> getInfoItems()
{
return infoItems;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
public class ListScmResult
extends ScmResult
{

private static final long serialVersionUID = 5402161066844465281L;

private List<ScmFile> files;

public ListScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
public class LoginScmResult
extends ScmResult
{

private static final long serialVersionUID = -179242524702253809L;

public LoginScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@

/**
* Result of making directories in SCM.
*
*
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
*
*/
public class MkdirScmResult
extends ScmResult
{

private static final long serialVersionUID = -8717329738246682608L;

private String revision;

private List<ScmFile> createdDirs;

public MkdirScmResult( ScmResult scmResult )
{
super( scmResult );
Expand All @@ -56,11 +55,11 @@ public MkdirScmResult( String commandLine, String revision )

this.revision = revision;
}

public MkdirScmResult( String commandLine, List<ScmFile> createdDirs )
{
this( commandLine, null, null, true );

this.createdDirs = createdDirs;
}

Expand All @@ -70,19 +69,19 @@ public MkdirScmResult( String revision, ScmResult result )

this.revision = revision;
}

public MkdirScmResult( List<ScmFile> createdDirs, ScmResult result )
{
super( result );

this.createdDirs = createdDirs;
}

public String getRevision()
{
return revision;
}

public List<ScmFile> getCreatedDirs()
{
return createdDirs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
public class RemoteInfoScmResult
extends ScmResult
{
private static final long serialVersionUID = -5571403202068311222L;

/**
* depending on scm informations can be different
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
public class RemoveScmResult
extends ScmResult
{

private static final long serialVersionUID = 8852310735079996771L;

private List<ScmFile> removedFiles;

public RemoveScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class UnEditScmResult
extends ScmResult
{
private static final long serialVersionUID = 257465331122587798L;

private List<ScmFile> unEditFiles;

public UnEditScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
public class UpdateScmResult
extends ScmResult
{

private static final long serialVersionUID = 1L;

private static final long serialVersionUID = -1578149496089492585L;

private List<ScmFile> updatedFiles;

private List<ChangeSet> changes;
Expand All @@ -50,7 +49,7 @@ public UpdateScmResult( String commandLine, List<ScmFile> updatedFiles )
super( commandLine, null, null, true );

this.updatedFiles = updatedFiles;

}

public UpdateScmResult( List<ScmFile> updatedFiles, List<ChangeSet> changes, ScmResult result )
Expand All @@ -63,7 +62,7 @@ public UpdateScmResult( List<ScmFile> updatedFiles, List<ChangeSet> changes, Scm
}

/**
*
*
* @return List of {@link ScmFile}
*/
public List<ScmFile> getUpdatedFiles()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
public class UpdateScmResultWithRevision
extends UpdateScmResult
{

private static final long serialVersionUID = 7644079089026359667L;

private String revision;

public UpdateScmResultWithRevision( String commandLine, String providerMessage, String commandOutput,
Expand Down

0 comments on commit 7ad183a

Please sign in to comment.