Skip to content

Commit

Permalink
Extract VERSION constant
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Feb 2, 2024
1 parent d93e522 commit f4df1c4
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<GitCommitAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<GitRepositoryAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<PipelineNodeInfoAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<PipelineQueueInfoAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<TraceInfoAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<DequeueAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<EnqueueAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<NodeInfoAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<StatusAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<BuildSpanAction> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,11 @@ public ConverterImpl(XStream xs) {
}

public static final class ConverterV1 extends VersionedConverter<TraceSpanContext> {

private static final int VERSION = 1;

public ConverterV1() {
super(1);
super(VERSION);
}

@Override
Expand Down

0 comments on commit f4df1c4

Please sign in to comment.