Skip to content

Commit

Permalink
Removes deprecated usage of spring framework class
Browse files Browse the repository at this point in the history
  • Loading branch information
alecharp committed Sep 11, 2024
1 parent 0281985 commit e3270e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import org.jenkinsci.plugins.structs.describable.EnumType
import org.jenkinsci.plugins.structs.describable.HeterogeneousObjectType
import org.jenkinsci.plugins.structs.describable.HomogeneousObjectType
import org.jenkinsci.plugins.structs.describable.ParameterType
import org.springframework.core.LocalVariableTableParameterNameDiscoverer
import org.springframework.core.ParameterNameDiscoverer
import org.springframework.core.StandardReflectionParameterNameDiscoverer

import java.lang.reflect.Method
import java.text.BreakIterator
Expand All @@ -33,7 +33,7 @@ import static org.apache.commons.lang.StringEscapeUtils.unescapeHtml

class EmbeddedApiDocGenerator {
private static final ParameterNameDiscoverer PARAMETER_NAME_DISCOVERER =
new LocalVariableTableParameterNameDiscoverer()
new StandardReflectionParameterNameDiscoverer()

private final List<DescribableModel> newContexts = []
private final List<ParameterType> newListContexts = []
Expand Down

0 comments on commit e3270e5

Please sign in to comment.