Merge pull request #724 from izeye

* gh-724:
  Polish "Remove redundant public modifiers for Groovy"
  Remove redundant public modifiers for Groovy

Closes gh-724
This commit is contained in:
Andy Wilkinson
2021-05-21 17:43:07 +01:00
5 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2019 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import org.gradle.api.Task
import org.gradle.api.plugins.JavaBasePlugin
import org.gradle.api.tasks.testing.Test
public class MatrixTestExtension {
class MatrixTestExtension {
private List<Entry> entries = []

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ package org.springframework.restdocs.build.matrix
import org.gradle.api.Plugin
import org.gradle.api.Project
public class MatrixTestPlugin implements Plugin<Project> {
class MatrixTestPlugin implements Plugin<Project> {
public void apply(Project project) {
void apply(Project project) {
project.extensions.create('matrixTest', MatrixTestExtension, project)
}

View File

@@ -23,7 +23,7 @@ import org.gradle.api.tasks.Exec
import org.gradle.api.tasks.Copy
import org.gradle.api.tasks.GradleBuild
public class SampleBuildConfigurer {
class SampleBuildConfigurer {
private final String name

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ package org.springframework.restdocs.build.samples
import org.gradle.api.Project
import org.gradle.api.Task
public class SamplesExtension {
class SamplesExtension {
Project Project

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ package org.springframework.restdocs.build.samples
import org.gradle.api.Plugin
import org.gradle.api.Project
public class SamplesPlugin implements Plugin<Project> {
class SamplesPlugin implements Plugin<Project> {
public void apply(Project project) {
void apply(Project project) {
def buildSamplesTask = project.tasks.create('buildSamples')
buildSamplesTask.description = 'Builds the configured samples'
buildSamplesTask.group = 'Build'