Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-07-26 02:23:21 -0400
committerMilos Kleint2011-07-26 02:23:21 -0400
commit1005fff8b7a3b0daf6660a7abd1cb7bcb5c115e8 (patch)
tree55c70c210cf68d6f46c3b2ecc93321a8cfe3bbdd
parent593ab33c38324bef158c2d7320dd5e0e945378e8 (diff)
downloadm2e-core-1005fff8b7a3b0daf6660a7abd1cb7bcb5c115e8.tar.gz
m2e-core-1005fff8b7a3b0daf6660a7abd1cb7bcb5c115e8.tar.xz
m2e-core-1005fff8b7a3b0daf6660a7abd1cb7bcb5c115e8.zip
remove unused method
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
index b6ff0272..d3c23aae 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/DependenciesComposite.java
@@ -607,26 +607,6 @@ public class DependenciesComposite extends Composite {
}
- /** mkleint: apparently this methods shall find the version in resolved pom for the given dependency
- * not sure if getBaseVersion is the way to go..
- * Note: duplicated in DependencyDetailsComposite
- * @param groupId
- * @param artifactId
- * @param monitor
- * @return
- */
- String getVersion(String groupId, String artifactId, IProgressMonitor monitor) {
- try {
- MavenProject mavenProject = editorPage.getPomEditor().readMavenProject(false, monitor);
- Artifact a = mavenProject.getArtifactMap().get(groupId + ":" + artifactId); //$NON-NLS-1$
- if(a != null) {
- return a.getBaseVersion();
- }
- } catch(CoreException ex) {
- log.error(ex.getMessage(), ex);
- }
- return null;
- }
public static class DependencyFilter extends ViewerFilter {
private SearchMatcher searchMatcher;

Back to the top