File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
qulice-maven-plugin/src/test/java/com/qulice/maven Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -180,15 +180,15 @@ private static final class FakeValidator implements Validator {
180180 /**
181181 * Validator name.
182182 */
183- private final String nam ;
183+ private final String label ;
184184
185185 /**
186186 * Method calls counter.
187187 */
188188 private final AtomicInteger cnt ;
189189
190190 FakeValidator (final String name ) {
191- this .nam = name ;
191+ this .label = name ;
192192 this .cnt = new AtomicInteger (0 );
193193 }
194194
@@ -199,7 +199,7 @@ public void validate(final Environment env) throws ValidationException {
199199
200200 @ Override
201201 public String name () {
202- return this .nam ;
202+ return this .label ;
203203 }
204204
205205 public int count () {
@@ -218,15 +218,15 @@ private static final class FakeResourceValidator
218218 /**
219219 * Resource validator name.
220220 */
221- private final String nam ;
221+ private final String label ;
222222
223223 /**
224224 * Method calls counter.
225225 */
226226 private final AtomicInteger cnt ;
227227
228228 FakeResourceValidator (final String name ) {
229- this .nam = name ;
229+ this .label = name ;
230230 this .cnt = new AtomicInteger (0 );
231231 }
232232
@@ -238,7 +238,7 @@ public Collection<Violation> validate(final Collection<File> files) {
238238
239239 @ Override
240240 public String name () {
241- return this .nam ;
241+ return this .label ;
242242 }
243243
244244 public int count () {
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ private static final class FakeMavenEnvironment implements MavenEnvironment {
203203 /**
204204 * Context.
205205 */
206- private final Context contex ;
206+ private final Context ctx ;
207207
208208 /**
209209 * Asserts.
@@ -216,7 +216,7 @@ private static final class FakeMavenEnvironment implements MavenEnvironment {
216216 final Collection <String > asserts
217217 ) {
218218 this .proj = prj ;
219- this .contex = ctx ;
219+ this .ctx = ctx ;
220220 this .assrts = asserts ;
221221 }
222222
@@ -232,7 +232,7 @@ public Properties properties() {
232232
233233 @ Override
234234 public Context context () {
235- return this .contex ;
235+ return this .ctx ;
236236 }
237237
238238 @ Override
You can’t perform that action at this time.
0 commit comments