diff options
author | 2024-11-22 09:45:05 +0100 | |
---|---|---|
committer | 2024-12-06 08:43:14 +0100 | |
commit | 449449afcca0e9f34e76aecf0deee9efdb2fc267 (patch) | |
tree | 0d850a4faaf8d94779d4fd06ec3f3383a1cfbf45 | |
parent | java-utils-2.eclass: drop -Dtest.resources.dir from etestng() (diff) | |
download | gentoo-449449afcca0e9f34e76aecf0deee9efdb2fc267.tar.gz gentoo-449449afcca0e9f34e76aecf0deee9efdb2fc267.tar.bz2 gentoo-449449afcca0e9f34e76aecf0deee9efdb2fc267.zip |
java-utils-2.eclass: remove unused and undocumented functions
removes the undocumented eclass functions:
- java-pkg_jar-list
- increment-qa-violations
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/39233/commits/5792412f99de65ec392f765cd4bd3585b53bb8fe
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | eclass/java-utils-2.eclass | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 00ae7f790e08..5874f6ba8665 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -253,9 +253,6 @@ JAVA_PKG_COMPILERS_CONF=${JAVA_PKG_COMPILERS_CONF:="/etc/java-config-2/build/com # ) # @CODE -# TODO document me -JAVA_PKG_QA_VIOLATIONS=0 - # @FUNCTION: java-pkg_doexamples # @USAGE: [--subdir <subdir>] <file1/dir1> [<file2> ...] # @DESCRIPTION: @@ -2784,19 +2781,6 @@ java-pkg_die() { } -# TODO document -# List jars in the source directory, ${S} -java-pkg_jar-list() { - if [[ -n "${JAVA_PKG_DEBUG}" ]]; then - einfo "Linked Jars" - find "${S}" -type l -name '*.jar' -print0 | xargs -0 -r -n 500 ls -ald | sed -e "s,${WORKDIR},\${WORKDIR}," - einfo "Jars" - find "${S}" -type f -name '*.jar' -print0 | xargs -0 -r -n 500 ls -ald | sed -e "s,${WORKDIR},\${WORKDIR}," - einfo "Classes" - find "${S}" -type f -name '*.class' -print0 | xargs -0 -r -n 500 ls -ald | sed -e "s,${WORKDIR},\${WORKDIR}," - fi -} - # @FUNCTION: java-pkg_verify-classes # @INTERNAL # @DESCRIPTION: @@ -2958,16 +2942,9 @@ java-pkg_announce-qa-violation() { nodie="true" shift fi - echo "Java QA Notice: $@" >&2 - increment-qa-violations [[ -z "${nodie}" ]] && is-java-strict && die "${@}" } -increment-qa-violations() { - let "JAVA_PKG_QA_VIOLATIONS+=1" - export JAVA_PKG_QA_VIOLATIONS -} - # @FUNCTION: is-java-strict # @INTERNAL # @RETURN: 0: JAVA_PKG_STRICT is set |