Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
exclude findbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverneverer committed Sep 8, 2020
1 parent 90bb0c7 commit cac8bd5
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-support/findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<Package name="com.xiaomi.infra.pegasus.client"/>
<Package name="com.xiaomi.infra.pegasus.metrics"/>
<Package name="com.xiaomi.infra.pegasus.tools"/>
<Package name="com.xiaomi.infra.pegasus.client.request"/>
<Package name="com.xiaomi.infra.pegasus.example"/>
</Or>
</Match>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

public abstract class Batch<Request, Response> implements Serializable {

private static final long serialVersionUID = -6267381453465488529L;

private final List<Request> requests;
public PegasusTableInterface table;
public int timeout;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class BatchDelete extends Batch<Delete, Void> {

private static final long serialVersionUID = -3749505015438921947L;

public BatchDelete(List<Delete> deletes) {
super(deletes);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class BatchGet extends Batch<Get, byte[]> {

private static final long serialVersionUID = -8713375648386293450L;

public BatchGet(List<Get> gets) {
super(gets);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class BatchMultiDelete extends Batch<MultiDelete, Void> {

private static final long serialVersionUID = 4692293597610231870L;

public BatchMultiDelete(List<MultiDelete> multiDeletes) {
super(multiDeletes);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

public class BatchMultiGet extends Batch<MultiGet, MultiGetResult> {

private static final long serialVersionUID = -8398629822956682881L;

public BatchMultiGet(List<MultiGet> multiGets) {
super(multiGets);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class BatchMultiSet extends Batch<MultiSet, Void> {

private static final long serialVersionUID = -7112478467009023481L;

public BatchMultiSet(List<MultiSet> multiSets) {
super(multiSets);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class BatchSet extends Batch<Set, Void> {

private static final long serialVersionUID = 7339081203717442862L;

public BatchSet(List<Set> sets) {
super(sets);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import java.io.Serializable;

public class Delete implements Serializable {

private static final long serialVersionUID = 7472471005807908575L;

public final byte[] hashKey;
public final byte[] sortKey;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import java.io.Serializable;

public class Get implements Serializable {

private static final long serialVersionUID = 5022721155142508979L;

public final byte[] hashKey;
public final byte[] sortKey;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
import java.util.List;

public class MultiDelete implements Serializable {

private static final long serialVersionUID = -9090489322713020570L;

public final byte[] hashKey;
public final List<byte[]> sortKeys;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
import java.util.List;

public class MultiGet implements Serializable {

private static final long serialVersionUID = 2068964280456524026L;

public final byte[] hashKey;
public final List<byte[]> sortKeys;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import org.apache.commons.lang3.tuple.Pair;

public class MultiSet implements Serializable {

private static final long serialVersionUID = -2236077975122224688L;

public final byte[] hashKey;
public final List<Pair<byte[], byte[]>> values;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import java.io.Serializable;

public class Set implements Serializable {

private static final long serialVersionUID = -2136211461120973309L;

public final byte[] hashKey;
public final byte[] sortKey;
public final byte[] value;
Expand Down

0 comments on commit cac8bd5

Please sign in to comment.