From 617f891315bfa2bd10ac8a597afdabff6484cac6 Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Fri, 9 Feb 2024 09:31:57 -0800 Subject: [PATCH] Errorprone EscapedEntity: Do not use HTML entities inside @code javadoc Change-Id: I8e577a23e7fbe22a3024ad62144e7f19eec465c3 --- .../src/org/eclipse/jgit/transport/PackParser.java | 2 +- .../src/org/eclipse/jgit/transport/PushCertificateParser.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java index c6bf77db24..7224405df7 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java @@ -1566,7 +1566,7 @@ public abstract class PackParser { * @param baseStreamPosition * position of the base object in the incoming stream. The base * must be before the delta, therefore {@code baseStreamPosition - * < deltaStreamPosition}. This is not the position + * < deltaStreamPosition}. This is not the position * returned by a prior end object event. * @param inflatedSize * size of the delta when fully inflated. The size stored within diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java index 5009ecf8f3..463d05393f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java @@ -10,8 +10,8 @@ package org.eclipse.jgit.transport; -import static org.eclipse.jgit.transport.ReceivePack.parseCommand; import static org.eclipse.jgit.transport.GitProtocolConstants.CAPABILITY_PUSH_CERT; +import static org.eclipse.jgit.transport.ReceivePack.parseCommand; import java.io.EOFException; import java.io.IOException; @@ -317,7 +317,7 @@ public class PushCertificateParser { * certificate. *

* This method doesn't parse the first line {@code "push-cert \NUL - * <capabilities>"}, but assumes the first line including the + * "}, but assumes the first line including the * capabilities has already been handled by the caller. * * @param pckIn -- 2.39.5