Skip to content

Commit

Permalink
Merge pull request #34 from GregBartlett/master
Browse files Browse the repository at this point in the history
removed conflicting deprecated variable to potentially resolve a sona…
  • Loading branch information
GregBartlett committed Feb 9, 2017
2 parents 8b98650 + 143eabf commit fc02ee8
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -38,8 +38,6 @@ public class ReSharperPlugin extends SonarPlugin {
public static final String CS_REPORT_PATH_KEY = "sonar.resharper.cs.reportPath";
public static final String VBNET_REPORT_PATH_KEY = "sonar.resharper.vbnet.reportPath";

public static final String OLD_INSTALL_DIRECTORY_KEY = "sonar.resharper.installDirectory";

private static final String CATEGORY = "ReSharper";
private static final String DEPRECATED_SUBCATEGORY = "Deprecated";
private static final String DEPRECATED_DESCRIPTION = "This property is deprecated and will be removed in a future version.<br />"
Expand Down Expand Up @@ -99,7 +97,6 @@ private static ImmutableList<PropertyDefinition> pluginProperties() {
.category(CATEGORY)
.subCategory(DEPRECATED_SUBCATEGORY)
.onQualifiers(Qualifiers.PROJECT)
.deprecatedKey(OLD_INSTALL_DIRECTORY_KEY)
.build(),

PropertyDefinition.builder(TIMEOUT_MINUTES_PROPERTY_KEY)
Expand All @@ -110,9 +107,7 @@ private static ImmutableList<PropertyDefinition> pluginProperties() {
.subCategory(DEPRECATED_SUBCATEGORY)
.onQualifiers(Qualifiers.PROJECT)
.type(PropertyType.INTEGER)
.build(),

deprecatedPropertyDefinition(OLD_INSTALL_DIRECTORY_KEY));
.build());
}

private static String deprecatedDescription(String description) {
Expand Down

0 comments on commit fc02ee8

Please sign in to comment.