LENS-1523 :Adding serialversionUID in BackoffretryHandlers.
authorRajitha R <rajithar@apache.org>
Fri, 13 Jul 2018 12:41:50 +0000 (18:11 +0530)
committerRajitha.R <rajithar@IM0318-L0.corp.inmobi.com>
Fri, 13 Jul 2018 12:41:50 +0000 (18:11 +0530)
lens-server-api/src/main/java/org/apache/lens/server/api/retry/FibonacciExponentialBackOffRetryHandler.java
lens-server-api/src/main/java/org/apache/lens/server/api/retry/ImmediateRetryHandler.java
lens_bk [deleted submodule]

index be3fc52..fe3fc0b 100644 (file)
@@ -29,6 +29,13 @@ import static com.google.common.base.Preconditions.checkArgument;
  *
  */
 public class FibonacciExponentialBackOffRetryHandler<FC extends FailureContext> implements BackOffRetryHandler<FC> {
+
+  /**
+   * The Constant serialVersionUID.
+   */
+  private static final long serialVersionUID = 1L;
+
+
   final int[] fibonacci;
   final long maxDelay;
   final long waitMillis;
index cea9df3..f3346f1 100644 (file)
@@ -22,8 +22,14 @@ import lombok.RequiredArgsConstructor;
 
 @RequiredArgsConstructor
 public class ImmediateRetryHandler<FC extends FailureContext> implements BackOffRetryHandler<FC> {
+
+  /**
+   * The Constant serialVersionUID.
+   */
+  private static final long serialVersionUID = 1L;
+
   private final int retries;
-  private int retriesDone = 0;
+
   // default 1 retry
   public ImmediateRetryHandler() {
     this(1);
diff --git a/lens_bk b/lens_bk
deleted file mode 160000 (submodule)
index d0d9adf..0000000
--- a/lens_bk
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit d0d9adf35ca476f28cb872285097309cdb6e55a6