Skip to content

Commit

Permalink
Remove unused private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Aug 8, 2023
1 parent dc41eb3 commit 530436e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,6 @@ static boolean isBNDProject(MavenProject mavenProject) {
}
}

private void setProperty(Project project, String key, String value) {
String property = project.getProperty(key);
if (property == null || property.isBlank()) {
project.setProperty(key, value);
}
}

private void logError(String msg, Exception e) {
if (logger.isDebugEnabled()) {
logger.error(msg, e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,19 +421,6 @@ public IMetadataRepository getMetadataRepository() {
return metadataRepository;
}

private static String getKey(IArtifactFacade artifact) {
if (artifact == null) {
return "";
}
String key = artifact.getGroupId() + ":" + artifact.getArtifactId();
String classifier = artifact.getClassifier();
if (classifier != null) {
key += ":" + classifier;
}
key += ":" + artifact.getVersion();
return key;
}

private static String getKey(Artifact artifact) {
if (artifact == null) {
return "";
Expand Down

0 comments on commit 530436e

Please sign in to comment.