aa3c395b97943e312dd16964b363f0e4f86c6739
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private convertToLooping(sourceState State<T>, sinkState State<T>, isFirstState boolean) : void renamed to private createLooping(sinkState State<T>) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Rename Method private convertToSingletonState(sourceState State<T>, sinkState State<T>) : void renamed to private createSingletonState(sinkState State<T>, addIgnore boolean) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Rename Variable | 4 | ||
Rename Variable sourceState : State<T> to singletonState : State<T> in method private createSingletonState(sinkState State<T>, addIgnore boolean) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Rename Variable sourceState : State<T> to loopingState : State<T> in method private createLooping(sinkState State<T>) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Rename Variable ignoreState : State<T> to state : State<T> in method private createNormalState() : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Change Return Type | 2 | ||
Change Return Type void to State<T> in method private createSingletonState(sinkState State<T>, addIgnore boolean) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Change Return Type void to State<T> in method private createLooping(sinkState State<T>) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Extract Method | 9 | ||
Extract Method private feedNFA(inputEvents List<StreamRecord<Event>>, nfa NFA<Event>) : List<List<Event>> extracted from public testIterativeWithPrevPatternDependency() : void in class org.apache.flink.cep.nfa.NFAITCase | From | To | |
Extract Method private feedNFA(inputEvents List<StreamRecord<Event>>, nfa NFA<Event>) : List<List<Event>> extracted from private testIterativeWithBranchingPattern(eager boolean) : List<List<Event>> in class org.apache.flink.cep.nfa.NFAITCase | From | To | |
Extract Method private feedNFA(inputEvents List<StreamRecord<Event>>, nfa NFA<Event>) : List<List<Event>> extracted from private testIterativeWithLoopingStarting(eager boolean) : List<List<Event>> in class org.apache.flink.cep.nfa.NFAITCase | From | To | |
Extract Method private feedNFA(inputEvents List<StreamRecord<Event>>, nfa NFA<Event>) : List<List<Event>> extracted from public testIterativeWithPrevPatternDependencyAfterBranching() : void in class org.apache.flink.cep.nfa.NFAITCase | From | To | |
Extract Method private createNormalState() : State<T> extracted from private convertToLooping(sourceState State<T>, sinkState State<T>, isFirstState boolean) : void in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Extract Method private createTimesState(sinkState State<T>, times int) : State<T> extracted from private createMiddleStates(sinkState State<T>) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Extract Method private createTimesState(sinkState State<T>, times int) : State<T> extracted from private createStartState(sinkState State<T>) : State<T> in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To | |
Extract Method private feedNFA(inputEvents List<StreamRecord<Event>>, nfa NFA<Event>) : List<List<Event>> extracted from public testIterativeWithABACPattern() : void in class org.apache.flink.cep.nfa.NFAITCase | From | To | |
Extract Method private createNormalState() : State<T> extracted from private convertToSingletonState(sourceState State<T>, sinkState State<T>) : void in class org.apache.flink.cep.nfa.compiler.NFACompiler.NFAFactoryCompiler | From | To |