Skip to content

Commit

Permalink
Remove unused private code
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier authored and oscerd committed Nov 5, 2020
1 parent e309308 commit c300c72
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -114,7 +114,6 @@ public class CamelKafkaConnectorUpdateMojo extends AbstractCamelKafkaConnectorMo
private static final String CONFIG_DEF_IMPORTANCE_MEDIUM = "ConfigDef.Importance.MEDIUM";
private static final String CONFIG_DEF_IMPORTANCE_HIGH = "ConfigDef.Importance.HIGH";
private static final String CONFIG_DEF_IMPORTANCE_PREFIX = "ConfigDef.Importance.";
private static final String CONFIG_DEF_NO_DEFAULT_VALUE = "ConfigDef.NO_DEFAULT_VALUE";

static {
PRIMITIVE_TYPES_TO_CLASS_MAP = new HashMap<>();
Expand Down Expand Up @@ -366,12 +365,6 @@ private void writeStaticFiles(File connectorDir) throws IOException, ResourceNot
writeFileIfChanged(license, new File(connectorDir, "src/main/resources/META-INF/LICENSE.txt"), getLog());
}

private String getComponentId() {
String componentName = getMainDepArtifactId();
String componentId = componentName.replace("camel-", "");
return componentId;
}

private void createClasses(String sanitizedName, File connectorDir, ComponentModel model, ConnectorType ct)
throws MojoFailureException, ResourceNotFoundException, FileResourceCreationException, IOException, MojoExecutionException {
String ctCapitalizedName = StringUtils.capitalize(ct.name().toLowerCase());
Expand Down

0 comments on commit c300c72

Please sign in to comment.