public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marek Goldmann <goldmann@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/jline2] epel10: jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
Date: Tue, 29 Sep 2026 13:17:17 GMT	[thread overview]
Message-ID: <179068783715.1.13566528280548521616.rpms-jline2-9e7e7b1ab67d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/jline2
Branch : epel10
Commit : 9e7e7b1ab67d718e279d9492e13c82c688b184ae
Author : Marek Goldmann <goldmann@fedoraproject.org>
Date   : 2011-11-15T08:05:12-05:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/jline2/c/9e7e7b1ab67d718e279d9492e13c82c688b184ae?branch=epel10

Log:
jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]

---
diff --git a/jline2-2.5-protected-void-back.patch b/jline2-2.5-protected-void-back.patch
new file mode 100644
index 0000000..eda39e0
--- /dev/null
+++ b/jline2-2.5-protected-void-back.patch
@@ -0,0 +1,12 @@
+diff -up jline-2.5/src/main/java/jline/console/ConsoleReader.java.org jline-2.5/src/main/java/jline/console/ConsoleReader.java
+--- jline-2.5/src/main/java/jline/console/ConsoleReader.java.org	2011-11-03 21:27:38.242789068 +0100
++++ jline-2.5/src/main/java/jline/console/ConsoleReader.java	2011-11-03 21:28:47.027460246 +0100
+@@ -579,7 +579,7 @@ public class ConsoleReader
+     /**
+      * Move the visual cursor backwards without modifying the buffer cursor.
+      */
+-    private void back(final int num) throws IOException {
++    protected void back(final int num) throws IOException {
+         if (num == 0) return;
+         if (terminal.isAnsiSupported()) {
+             int width = getTerminal().getWidth();

diff --git a/jline2.spec b/jline2.spec
index 8c498a8..ef91959 100644
--- a/jline2.spec
+++ b/jline2.spec
@@ -1,6 +1,6 @@
 Name:             jline2
 Version:          2.5
-Release:          3%{?dist}
+Release:          4%{?dist}
 Summary:          JLine is a Java library for handling console input
 Group:            Development/Libraries
 License:          BSD and ASL 2.0
@@ -10,6 +10,7 @@ URL:              https://github.com/jline/jline2
 # cd jline2/ && git archive --format=tar --prefix=jline-2.5/ jline-2.5 | xz > jline-2.5.tar.xz
 Source0:          jline-%{version}.tar.xz
 Patch0:           %{name}-%{version}-pom.patch
+Patch1:           %{name}-%{version}-protected-void-back.patch
 
 BuildArch:        noarch
 
@@ -47,6 +48,7 @@ This package contains the API documentation for %{name}.
 %prep
 %setup -q -n jline-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -77,6 +79,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %doc LICENSE.txt
 
 %changelog
+* Tue Nov 15 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-4
+- jline.console.ConsoleReader.back should be protected instead of private [rhbz#751208]
+
 * Wed Sep 21 2011 Marek Goldmann <mgoldman@redhat.com> 2.5-3
 - Updated license
 - Removed unnecessary add_to_maven_depmap

                 reply	other threads:[~2026-09-29 13:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179068783715.1.13566528280548521616.rpms-jline2-9e7e7b1ab67d@fedoraproject.org \
    --to=goldmann@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox