You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/04/15 17:09:50 UTC
[ignite-teamcity-bot] branch master updated: Format & javadocs
update
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/master by this push:
new 76a866d Format & javadocs update
76a866d is described below
commit 76a866dbfc516f224d841c2bd68a48c2e9b0dba7
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Mon Apr 15 20:09:42 2019 +0300
Format & javadocs update
---
.../java/org/apache/ignite/ci/tcbot/conf/GitHubConfig.java | 11 ++++++-----
.../org/apache/ignite/ci/tcbot/conf/ITcServerConfig.java | 1 -
.../org/apache/ignite/ci/tcbot/conf/JiraServerConfig.java | 14 ++++++--------
3 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/GitHubConfig.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/GitHubConfig.java
index 1386678..1eec1c0 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/GitHubConfig.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/GitHubConfig.java
@@ -49,8 +49,8 @@ public class GitHubConfig implements IGitHubConfig {
private Properties props;
/**
- * Prefer branches contributions. If null or false then PRs have priority.
- * If set to true that means branch scanning preformed more often, and default triggering option is branch.
+ * Prefer branches contributions. If null or false then PRs have priority. If set to true that means branch scanning
+ * preformed more often, and default triggering option is branch.
*/
@Nullable
private Boolean preferBranches;
@@ -100,7 +100,7 @@ public class GitHubConfig implements IGitHubConfig {
return null;
return PasswordEncoder.decode(encAuth);
-}
+ }
/** {@inheritDoc} */
@Override public String gitApiUrl() {
@@ -113,11 +113,12 @@ public class GitHubConfig implements IGitHubConfig {
}
- @Override
- public boolean isPreferBranches() {
+ /** {@inheritDoc} */
+ @Override public boolean isPreferBranches() {
return Boolean.TRUE.equals(preferBranches);
}
+ /** {@inheritDoc} */
@Override public String code() {
return code;
}
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/ITcServerConfig.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/ITcServerConfig.java
index 3bc4763..e08a21b 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/ITcServerConfig.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/ITcServerConfig.java
@@ -16,7 +16,6 @@
*/
package org.apache.ignite.ci.tcbot.conf;
-import java.util.Properties;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/JiraServerConfig.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/JiraServerConfig.java
index 9b7e563..e2a7a04 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/JiraServerConfig.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/JiraServerConfig.java
@@ -38,14 +38,13 @@ public class JiraServerConfig implements IJiraServerConfig {
private String projectCode;
/**
- * Branch number prefix. Optional, if not present {@link #projectCode}-NNNNN is searched.<br>
- * But if branch has different enumeration, this prefix will be searched instead.<br>
- * If specified, that meant tickets maching branches have another identification.<br>
- * For exaple some ticket having ID {@link #projectCode}-N1 will be commented, but a branch will be identified using
- * {@link #branchNumPrefix}N2 with another number.<br><br>
+ * Branch number prefix. Optional, if not present {@link #projectCode}-NNNNN is searched.<br> But if branch has
+ * different enumeration, this prefix will be searched instead.<br> If specified, that meant tickets maching
+ * branches have another identification.<br> For exaple some ticket having ID {@link #projectCode}-N1 will be
+ * commented, but a branch will be identified using {@link #branchNumPrefix}N2 with another number.<br><br>
*
- * Search of branches will be performed using data in JIRA ticket fields for
- * {@link #projectCode}-N1, fields are listed in {@link Ticket} class.
+ * Search of branches will be performed using data in JIRA ticket fields for {@link #projectCode}-N1, fields are
+ * listed in {@link Ticket} class.
*/
private String branchNumPrefix;
@@ -117,7 +116,6 @@ public class JiraServerConfig implements IJiraServerConfig {
return Strings.emptyToNull(branchNumPrefix);
}
-
/** {@inheritDoc} */
@Nullable
@Override