• R/O
  • HTTP
  • SSH
  • HTTPS

master: Commit

マスターリポジトリ


Commit MetaInfo

Revisionee7df17c40e16928d77d3aa18eb8fbd299caa2f8 (tree)
Time2009-08-14 18:03:17
AuthorMasaki Muranaka <monaka at monami-software.com>
CommiterMasaki Muranaka

Log Message

Remove redundant imports. (fix as obvious.)

Change Summary

Incremental Difference

--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/Builder.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/Builder.java
@@ -14,9 +14,8 @@ import org.eclipse.core.resources.IncrementalProjectBuilder;
1414 import org.eclipse.core.runtime.CoreException;
1515 import org.eclipse.core.runtime.IProgressMonitor;
1616 import org.eclipse.core.runtime.QualifiedName;
17-import org.ginkgo.gcov.parser.CoverageSummaryParser;
18-import org.ginkgo.gcov.parser.LineCoverageParser;
1917 import org.ginkgo.gcov.parser.IParser;
18+import org.ginkgo.gcov.parser.LineCoverageParser;
2019 import org.xml.sax.SAXException;
2120
2221 public abstract class Builder extends IncrementalProjectBuilder {
--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/CoverageLister.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/CoverageLister.java
@@ -1,13 +1,11 @@
11 package org.ginkgo.gcov.builder;
22
3-import org.eclipse.cdt.core.model.ICElement;
43 import org.eclipse.core.resources.IFile;
54 import org.eclipse.core.resources.IProject;
65 import org.eclipse.core.resources.IResource;
76 import org.eclipse.core.resources.IResourceVisitor;
87 import org.eclipse.core.runtime.CoreException;
98 import org.eclipse.core.runtime.QualifiedName;
10-import org.eclipse.swt.graphics.GC;
119 import org.ginkgo.gcov.model.CoverageData;
1210
1311 public class CoverageLister implements ICoverageListener {
--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/CoverageSummaryBuilder.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/CoverageSummaryBuilder.java
@@ -2,19 +2,12 @@ package org.ginkgo.gcov.builder;
22
33
44 import javax.xml.parsers.ParserConfigurationException;
5-import javax.xml.parsers.SAXParser;
6-import javax.xml.parsers.SAXParserFactory;
75
86 import org.eclipse.core.resources.IFile;
9-import org.eclipse.core.resources.IMarker;
10-import org.eclipse.core.resources.IProjectNature;
117 import org.eclipse.core.resources.IResource;
12-import org.ginkgo.gcov.parser.IParser;
13-import org.ginkgo.gcov.parser.LineCoverageParser;
148 import org.ginkgo.gcov.parser.CoverageSummaryParser;
9+import org.ginkgo.gcov.parser.IParser;
1510 import org.xml.sax.SAXException;
16-import org.xml.sax.SAXParseException;
17-import org.xml.sax.helpers.DefaultHandler;
1811
1912 public class CoverageSummaryBuilder extends Builder{
2013 private IParser gcovParser;
--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/LineCoverageBuilder.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/builder/LineCoverageBuilder.java
@@ -1,25 +1,12 @@
11 package org.ginkgo.gcov.builder;
22
3-import java.util.Map;
4-
53 import javax.xml.parsers.ParserConfigurationException;
6-import javax.xml.parsers.SAXParserFactory;
74
85 import org.eclipse.core.resources.IFile;
9-import org.eclipse.core.resources.IMarker;
10-import org.eclipse.core.resources.IProject;
116 import org.eclipse.core.resources.IResource;
12-import org.eclipse.core.resources.IResourceDelta;
13-import org.eclipse.core.resources.IResourceDeltaVisitor;
14-import org.eclipse.core.resources.IncrementalProjectBuilder;
15-import org.eclipse.core.runtime.CoreException;
16-import org.eclipse.core.runtime.IProgressMonitor;
17-import org.ginkgo.gcov.parser.CoverageSummaryParser;
187 import org.ginkgo.gcov.parser.IParser;
198 import org.ginkgo.gcov.parser.LineCoverageParser;
209 import org.xml.sax.SAXException;
21-import org.xml.sax.SAXParseException;
22-import org.xml.sax.helpers.DefaultHandler;
2310
2411 public class LineCoverageBuilder extends Builder {
2512 private IParser gcovParser;
--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/parser/LineCoverageParser.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/parser/LineCoverageParser.java
@@ -1,39 +1,21 @@
11 package org.ginkgo.gcov.parser;
22
33 import java.io.BufferedReader;
4-import java.io.File;
54 import java.io.IOException;
6-import java.io.InputStream;
75 import java.io.InputStreamReader;
8-import java.io.Reader;
9-import java.io.StringReader;
106 import java.util.HashMap;
117 import java.util.Map;
12-import java.util.regex.Matcher;
13-import java.util.regex.Pattern;
148
159 import org.eclipse.core.resources.IFile;
1610 import org.eclipse.core.resources.IProject;
1711 import org.eclipse.core.resources.IResource;
1812 import org.eclipse.core.resources.IResourceVisitor;
1913 import org.eclipse.core.runtime.CoreException;
20-import org.eclipse.core.runtime.IPath;
21-import org.eclipse.core.runtime.QualifiedName;
22-import org.eclipse.debug.core.DebugPlugin;
23-import org.eclipse.debug.core.ILaunchManager;
24-import org.eclipse.debug.core.IStreamListener;
25-import org.eclipse.debug.core.Launch;
26-import org.eclipse.debug.core.model.IProcess;
27-import org.eclipse.debug.core.model.IStreamMonitor;
28-import org.eclipse.swt.graphics.Color;
2914 import org.eclipse.ui.console.ConsolePlugin;
3015 import org.eclipse.ui.console.IConsole;
3116 import org.eclipse.ui.console.IConsoleManager;
3217 import org.eclipse.ui.console.MessageConsole;
33-import org.eclipse.ui.console.MessageConsoleStream;
34-import org.eclipse.ui.internal.Workbench;
3518 import org.eclipse.ui.texteditor.MarkerUtilities;
36-import org.xml.sax.helpers.DefaultHandler;
3719
3820 public class LineCoverageParser implements IParser {
3921
--- a/org.ginkgo.gcov/src/org/ginkgo/gcov/popup/actions/Action.java
+++ b/org.ginkgo.gcov/src/org/ginkgo/gcov/popup/actions/Action.java
@@ -5,7 +5,6 @@ import java.util.HashMap;
55 import java.util.Map;
66
77 import org.eclipse.cdt.core.model.ICProject;
8-import org.eclipse.cdt.internal.core.model.CProject;
98 import org.eclipse.core.resources.IFile;
109 import org.eclipse.core.resources.IProject;
1110 import org.eclipse.core.resources.IResource;
@@ -16,10 +15,10 @@ import org.eclipse.debug.core.ILaunchManager;
1615 import org.eclipse.debug.core.Launch;
1716 import org.eclipse.debug.core.model.IProcess;
1817 import org.eclipse.jface.action.IAction;
19-import org.eclipse.jface.dialogs.MessageDialog;
2018 import org.eclipse.jface.viewers.ISelection;
2119 import org.eclipse.jface.viewers.IStructuredSelection;
2220 import org.eclipse.swt.widgets.Shell;
21+import org.eclipse.ui.IActionDelegate;
2322 import org.eclipse.ui.IObjectActionDelegate;
2423 import org.eclipse.ui.IWorkbenchPart;
2524
Show on old repository browser