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:45:17 GMT
Repository: stratos
Updated Branches:
  refs/heads/stratos-4.1.x 1255b4a2a -> 5822d5145


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/5822d514
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5822d514
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5822d514

Branch: refs/heads/stratos-4.1.x
Commit: 5822d514554b2381cb7612fcd9265953f7b3a7e3
Parents: 1255b4a
Author: anuruddhal <anuruddha789@gmail.com>
Authored: Mon Sep 21 11:14:32 2015 +0530
Committer: anuruddhal <anuruddha789@gmail.com>
Committed: Mon Sep 21 11:14:32 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/5822d514/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/5822d514/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/5822d514/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