• [gentoo-dev] [PATCH] java-utils-2.eclass: remove unused eclass fuction

    From Volkmar W. Pogatzki@21:1/5 to All on Tue Sep 10 10:10:01 2024
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    ---
    eclass/java-utils-2.eclass | 24 ------------------------
    1 file changed, 24 deletions(-)

    diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
    index 481c9b7df081..43d9b749ba3d 100644
    --- a/eclass/java-utils-2.eclass
    +++ b/eclass/java-utils-2.eclass
    @@ -2254,30 +2254,6 @@ java-pkg_force-compiler() {
    JAVA_PKG_FORCE_COMPILER="$@"
    }

    -# @FUNCTION: use_doc
    -# @DEPRECATED: none
    -# @DESCRIPTION:
    -#
    -# Helper function for getting ant to build javadocs. If the user has USE=doc, -# then 'javadoc' or the argument are returned. Otherwise, there is no return. -#
    -# The output of this should be passed to ant.
    -# @CODE
    -# Parameters:
    -# $@ - Option value to return. Defaults to 'javadoc'
    -#
    -# Examples:
    -# build javadocs by calling 'javadoc' target
    -# eant $(use_doc)
    -#
    -# build javadocs by calling 'apidoc' target
    -# eant $(use_doc apidoc)
    -# @CODE
    -# @RETURN string - Name of the target to create javadocs
    -use_doc() {
    - use doc && echo ${@:-javadoc}
    -}
    -

    # @FUNC