stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anurud...@apache.org
Subject stratos git commit: Fixing restoreState() method
Date Mon, 21 Sep 2015 05:31:58 GMT
Repository: stratos
Updated Branches:
  refs/heads/stratos-4.1.x_cep [created] 40446ef25


Fixing restoreState() method


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/40446ef2
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/40446ef2
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/40446ef2

Branch: refs/heads/stratos-4.1.x_cep
Commit: 40446ef25cdee7e0bfd746783eece664c70e9edd
Parents: 1255b4a
Author: anuruddhal <anuruddha789@gmail.com>
Authored: Mon Sep 21 11:01:27 2015 +0530
Committer: anuruddhal <anuruddha789@gmail.com>
Committed: Mon Sep 21 11:01:27 2015 +0530

----------------------------------------------------------------------
 .../apache/stratos/cep/extension/FaultHandlingWindowProcessor.java  | 1 -
 .../apache/stratos/cep/extension/GradientFinderWindowProcessor.java | 1 -
 .../cep/extension/SecondDerivativeFinderWindowProcessor.java        | 1 -
 3 files changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/40446ef2/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/FaultHandlingWindowProcessor.java
----------------------------------------------------------------------
diff --git a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/FaultHandlingWindowProcessor.java
b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/FaultHandlingWindowProcessor.java
index 55b7572..305eda8 100644
--- a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/FaultHandlingWindowProcessor.java
+++ b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/FaultHandlingWindowProcessor.java
@@ -257,7 +257,6 @@ public class FaultHandlingWindowProcessor extends WindowProcessor implements
Run
     @Override
     protected void restoreState(Object[] data) {
         window.restoreState(data);
-        window.restoreState((Object[]) data[0]);
         window.reSchedule();
     }
 

http://git-wip-us.apache.org/repos/asf/stratos/blob/40446ef2/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/GradientFinderWindowProcessor.java
----------------------------------------------------------------------
diff --git a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/GradientFinderWindowProcessor.java
b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/GradientFinderWindowProcessor.java
index 3d13533..669d4cc 100644
--- a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/GradientFinderWindowProcessor.java
+++ b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/GradientFinderWindowProcessor.java
@@ -209,7 +209,6 @@ public class GradientFinderWindowProcessor extends WindowProcessor implements
Ru
     @Override
     protected void restoreState(Object[] data) {
         window.restoreState(data);
-        window.restoreState((Object[]) data[0]);
         oldEventList = ((ArrayList<RemoveEvent>) data[1]);
         newEventList = ((ArrayList<InEvent>) data[2]);
         window.reSchedule();

http://git-wip-us.apache.org/repos/asf/stratos/blob/40446ef2/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java
----------------------------------------------------------------------
diff --git a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java
b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java
index b04c084..be2fd05 100644
--- a/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java
+++ b/extensions/cep/modules/stratos-cep-extension/wso2cep-3.1.0/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java
@@ -227,7 +227,6 @@ public class SecondDerivativeFinderWindowProcessor extends WindowProcessor
imple
     @Override
     protected void restoreState(Object[] data) {
         window.restoreState(data);
-        window.restoreState((Object[]) data[0]);
         oldEventList = ((ArrayList<RemoveEvent>) data[1]);
         newEventList = ((ArrayList<InEvent>) data[2]);
         window.reSchedule();


Mime
View raw message