diff --git a/buildSrc/src/main/kotlin/org/zaproxy/zap/publish.gradle.kts b/buildSrc/src/main/kotlin/org/zaproxy/zap/publish.gradle.kts index 57c522fc4e9..83fa88ab37f 100644 --- a/buildSrc/src/main/kotlin/org/zaproxy/zap/publish.gradle.kts +++ b/buildSrc/src/main/kotlin/org/zaproxy/zap/publish.gradle.kts @@ -23,8 +23,8 @@ val ossrhPassword: String? by project publishing { repositories { maven { - val releasesRepoUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/") - val snapshotsRepoUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/") + val releasesRepoUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/") + val snapshotsRepoUrl = uri("https://central.sonatype.com/repository/maven-snapshots/") setUrl(provider { if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl }) if (ossrhUsername != null && ossrhPassword != null) { diff --git a/zap/src/main/java/org/parosproxy/paros/model/SiteNode.java b/zap/src/main/java/org/parosproxy/paros/model/SiteNode.java index 386eb303177..39a07bb791b 100644 --- a/zap/src/main/java/org/parosproxy/paros/model/SiteNode.java +++ b/zap/src/main/java/org/parosproxy/paros/model/SiteNode.java @@ -117,11 +117,7 @@ public class SiteNode extends DefaultMutableTreeNode { */ private boolean calculateHighestAlert; - /** - * The {@code Alert} with highest risk (and not a false positive). - * - * @see #isHighestAlert(Alert) - */ + /** The {@code Alert} with highest risk (and not a false positive). */ private Alert highestAlert; public SiteNode(SiteMap siteMap, int type, String nodeName) { @@ -209,8 +205,6 @@ public List getCustomIcons() { *

After a call to this method the {@link #highestAlert} will have the highest alert (or * {@code null} if none) and the flag {@link #calculateHighestAlert} will have the value {@code * false}. - * - * @see #isHighestAlert(Alert) */ private void calculateHighestAlert() { highestAlert = alerts.getHighestRisk(); diff --git a/zap/src/main/java/org/zaproxy/zap/authentication/ScriptBasedAuthenticationMethodType.java b/zap/src/main/java/org/zaproxy/zap/authentication/ScriptBasedAuthenticationMethodType.java index ac0b4ee2534..25c70cb7bc5 100644 --- a/zap/src/main/java/org/zaproxy/zap/authentication/ScriptBasedAuthenticationMethodType.java +++ b/zap/src/main/java/org/zaproxy/zap/authentication/ScriptBasedAuthenticationMethodType.java @@ -484,7 +484,7 @@ public void actionPerformed(ActionEvent e) { /** * Adds custom fields to the panel. * - * @param row the new row to add the custom fields. + * @param y the new row to add the custom fields. * @return the row after adding the custom fields. * @since 2.17.0 */