Skip to content

Commit

Permalink
Simplify Class.forName call
Browse files Browse the repository at this point in the history
  • Loading branch information
philsttr committed Oct 23, 2023
1 parent f951148 commit 8018344
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void registerHttpServletRequestAdapter(
try {
adapter =
new HttpServletRequestAdapter(
Class.forName(httpServletRequestClassName, true, getClass().getClassLoader()));
Class.forName(httpServletRequestClassName);
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException e) {
// Ignore. Don't register
return;
Expand Down

0 comments on commit 8018344

Please sign in to comment.