@@ -44,101 +44,6 @@ public class DryPublisher extends HealthAwarePublisher {
44
44
/** Minimum number of duplicate lines for normal priority warnings. @since 2.5 */
45
45
private int normalThreshold ;
46
46
47
- /**
48
- * Creates a new instance of <code>PmdPublisher</code>.
49
- *
50
- * @param healthy
51
- * Report health as 100% when the number of warnings is less than
52
- * this value
53
- * @param unHealthy
54
- * Report health as 0% when the number of warnings is greater
55
- * than this value
56
- * @param thresholdLimit
57
- * determines which warning priorities should be considered when
58
- * evaluating the build stability and health
59
- * @param defaultEncoding
60
- * the default encoding to be used when reading and parsing files
61
- * @param useDeltaValues
62
- * determines whether the absolute annotations delta or the
63
- * actual annotations set difference should be used to evaluate
64
- * the build stability
65
- * @param unstableTotalAll
66
- * annotation threshold
67
- * @param unstableTotalHigh
68
- * annotation threshold
69
- * @param unstableTotalNormal
70
- * annotation threshold
71
- * @param unstableTotalLow
72
- * annotation threshold
73
- * @param unstableNewAll
74
- * annotation threshold
75
- * @param unstableNewHigh
76
- * annotation threshold
77
- * @param unstableNewNormal
78
- * annotation threshold
79
- * @param unstableNewLow
80
- * annotation threshold
81
- * @param failedTotalAll
82
- * annotation threshold
83
- * @param failedTotalHigh
84
- * annotation threshold
85
- * @param failedTotalNormal
86
- * annotation threshold
87
- * @param failedTotalLow
88
- * annotation threshold
89
- * @param failedNewAll
90
- * annotation threshold
91
- * @param failedNewHigh
92
- * annotation threshold
93
- * @param failedNewNormal
94
- * annotation threshold
95
- * @param failedNewLow
96
- * annotation threshold
97
- * @param canRunOnFailed
98
- * determines whether the plug-in can run for failed builds, too
99
- * @param usePreviousBuildAsReference
100
- * determines whether to always use the previous build as the reference build
101
- * @param useStableBuildAsReference
102
- * determines whether only stable builds should be used as reference builds or not
103
- * @param shouldDetectModules
104
- * determines whether module names should be derived from Maven POM or Ant build files
105
- * @param canComputeNew
106
- * determines whether new warnings should be computed (with
107
- * respect to baseline)
108
- * @param pattern
109
- * Ant file-set pattern to scan for DRY files
110
- * @param highThreshold
111
- * minimum number of duplicate lines for high priority warnings
112
- * @param normalThreshold
113
- * minimum number of duplicate lines for normal priority warnings
114
- *
115
- * @deprecated see {@link #DryPublisher(int, int)}
116
- */
117
- // CHECKSTYLE:OFF
118
- @ SuppressWarnings ("PMD.ExcessiveParameterList" )
119
- @ Deprecated
120
- public DryPublisher (final String healthy , final String unHealthy , final String thresholdLimit ,
121
- final String defaultEncoding , final boolean useDeltaValues ,
122
- final String unstableTotalAll , final String unstableTotalHigh , final String unstableTotalNormal , final String unstableTotalLow ,
123
- final String unstableNewAll , final String unstableNewHigh , final String unstableNewNormal , final String unstableNewLow ,
124
- final String failedTotalAll , final String failedTotalHigh , final String failedTotalNormal , final String failedTotalLow ,
125
- final String failedNewAll , final String failedNewHigh , final String failedNewNormal , final String failedNewLow ,
126
- final boolean canRunOnFailed , final boolean usePreviousBuildAsReference ,
127
- final boolean useStableBuildAsReference , final boolean shouldDetectModules ,
128
- final boolean canComputeNew , final String pattern , final int highThreshold , final int normalThreshold ) {
129
- super (healthy , unHealthy , thresholdLimit , defaultEncoding , useDeltaValues ,
130
- unstableTotalAll , unstableTotalHigh , unstableTotalNormal , unstableTotalLow ,
131
- unstableNewAll , unstableNewHigh , unstableNewNormal , unstableNewLow ,
132
- failedTotalAll , failedTotalHigh , failedTotalNormal , failedTotalLow ,
133
- failedNewAll , failedNewHigh , failedNewNormal , failedNewLow ,
134
- canRunOnFailed , usePreviousBuildAsReference , useStableBuildAsReference , shouldDetectModules ,
135
- canComputeNew , true , PLUGIN_NAME );
136
- this .pattern = pattern ;
137
- this .highThreshold = highThreshold ;
138
- this .normalThreshold = normalThreshold ;
139
- }
140
- // CHECKSTYLE:ON
141
-
142
47
@ DataBoundConstructor
143
48
public DryPublisher (final int highThreshold , final int normalThreshold ) {
144
49
super (PLUGIN_NAME );
0 commit comments