Skip to content

Commit

Permalink
RemoveMarkers.java: Refactor line length
Browse files Browse the repository at this point in the history
  • Loading branch information
arafsheikh committed May 29, 2016
1 parent 4486410 commit e5cf094
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions com.coala.core/src/com/coala/core/handlers/RemoveMarkers.java
Expand Up @@ -15,8 +15,11 @@ public class RemoveMarkers extends AbstractHandler {

@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
IFile file = ((IFileEditorInput) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.getActiveEditor().getEditorInput()).getFile();
IFile file = ((IFileEditorInput) PlatformUI.getWorkbench()
.getActiveWorkbenchWindow()
.getActivePage()
.getActiveEditor()
.getEditorInput()).getFile();
removeAllMarkers(file);
return null;
}
Expand All @@ -40,4 +43,5 @@ public void removeAllMarkers(IFile file) {
}
}
}

}

0 comments on commit e5cf094

Please sign in to comment.