forked from tsantalis/RefactoringMiner
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
We should check all new cases added in the oracle
tsantalis@d8bb59b#diff-6dacce79421f046bc43455a79cf254020e0880c9b86ed2f6242ef2b9943ac5fc
There is a Merge Conditional refactoring
Merge Conditional [if(getVirtualFile().isValid()), if(getVirtualFile() == null)] to return virtualFile == null || !virtualFile.isValid() ? null : virtualFile; in method public getData(dataId String) : Object from class com.intellij.openapi.vcs.history.FileHistoryPanelImpl
but the expressions of the if statements are not matched with the conditions of the ternary operator.
We should allow getter call getVirtualFile() to be replaced with variable SimpleName virtualFile and vice versa.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
