Polish
This commit is contained in:
@@ -20,7 +20,7 @@ import org.springframework.util.Assert;
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
public class Releaser {
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(Releaser.class);
|
||||
|
||||
private static boolean ASSERT_SNAPSHOTS = true;
|
||||
private static boolean SKIP_SNAPSHOT_ASSERTION = false;
|
||||
|
||||
@@ -66,7 +66,7 @@ import com.jcraft.jsch.agentproxy.usocket.JNAUSocketFactory;
|
||||
*/
|
||||
class GitRepo {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(GitRepo.class);
|
||||
|
||||
private final GitRepo.JGitFactory gitFactory;
|
||||
|
||||
@@ -333,7 +333,7 @@ class GitRepo {
|
||||
* {@link org.eclipse.jgit.api.CloneCommand} allowing for easier unit testing.
|
||||
*/
|
||||
static class JGitFactory {
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(JGitFactory.class);
|
||||
|
||||
private final JschConfigSessionFactory factory = new JschConfigSessionFactory() {
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.util.StringUtils;
|
||||
*/
|
||||
class GithubIssues {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(GithubIssues.class);
|
||||
private static final String GITHUB_ISSUE_TITLE = "Spring Cloud Release took place";
|
||||
|
||||
private final Github github;
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
|
||||
*/
|
||||
class GithubMilestones {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(GithubMilestones.class);
|
||||
|
||||
private final Github github;
|
||||
private final ReleaserProperties properties;
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.util.StringUtils;
|
||||
*/
|
||||
public class ProjectGitHandler implements ReleaserPropertiesAware {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(ProjectGitHandler.class);
|
||||
|
||||
private static final String MSG = "Bumping versions";
|
||||
private static final String PRE_RELEASE_MSG = "Update SNAPSHOT to %s";
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.cloud.release.internal.pom.Projects;
|
||||
*/
|
||||
public class GradleUpdater implements ReleaserPropertiesAware {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(GradleUpdater.class);
|
||||
|
||||
private ReleaserProperties properties;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ import static org.springframework.util.StringUtils.isEmpty;
|
||||
*/
|
||||
class PomUpdater {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(PomUpdater.class);
|
||||
|
||||
private final PomReader pomReader = new PomReader();
|
||||
private final PomWriter pomWriter = new PomWriter();
|
||||
@@ -275,7 +275,7 @@ class ModelWrapper {
|
||||
|
||||
class PomWriter {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(PomWriter.class);
|
||||
|
||||
void write(ModelWrapper wrapper, Versions versions, File pom) {
|
||||
try {
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
class SCReleasePomParser {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(SCReleasePomParser.class);
|
||||
|
||||
private static final String STARTER_POM = "spring-cloud-starter-parent/pom.xml";
|
||||
private static final String DEPENDENCIES_POM = "spring-cloud-dependencies/pom.xml";
|
||||
|
||||
@@ -170,7 +170,7 @@ public class ProjectBuilder implements ReleaserPropertiesAware {
|
||||
}
|
||||
|
||||
class ProcessExecutor implements ReleaserPropertiesAware {
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(ProcessExecutor.class);
|
||||
|
||||
private ReleaserProperties properties;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.springframework.util.StringUtils;
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
class OptionsProcessor {
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(OptionsProcessor.class);
|
||||
|
||||
private final Releaser releaser;
|
||||
private final ReleaserProperties properties;
|
||||
|
||||
@@ -13,7 +13,7 @@ class Task {
|
||||
|
||||
static StepSkipper stepSkipper = new ConsoleInputStepSkipper();
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(Task.class);
|
||||
private static final String MSG = "\nPress 'q' to quit, 's' to skip, any key to continue\n\n";
|
||||
|
||||
final String name;
|
||||
|
||||
Reference in New Issue
Block a user