Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
marchof committed May 8, 2012
1 parent 619fa5f commit 015d2c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public class JavaCoverageLoader {
private ISessionListener sessionListener = new ISessionListener() {

public void sessionActivated(ICoverageSession session) {
// TODO Looks like this has no effect
Job.getJobManager().cancel(LOADJOB);
if (session == null) {
coverage = null;
Expand Down Expand Up @@ -77,7 +76,7 @@ public LoadSessionJob(ICoverageSession session) {
}

protected IStatus run(IProgressMonitor monitor) {
IJavaModelCoverage c;
final IJavaModelCoverage c;
try {
c = new SessionAnalyzer().processSession(session, monitor);
} catch (CoreException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ private void walkFile(File file, boolean root) throws IOException {
}
}

private BufferedInputStream open(final File file)
throws FileNotFoundException {
private InputStream open(final File file) throws FileNotFoundException {
return new BufferedInputStream(new FileInputStream(file));
}

Expand Down

0 comments on commit 015d2c3

Please sign in to comment.