Skip to content

Commit

Permalink
LDEV-4688 var names made camel case.
Browse files Browse the repository at this point in the history
  • Loading branch information
hideo67 committed Sep 11, 2023
1 parent 6561122 commit 4008b0c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/src/main/java/lucee/runtime/ComponentPageImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -417,15 +417,15 @@ else if (status == 406) {

}

private Result makeSubResult(Result r, int path_elems_to_skip) {
int n = r.getPath().length - path_elems_to_skip;
String path_elems[] = new String[n];
private Result makeSubResult(Result r, int pathElemsToSkip) {
int n = r.getPath().length - pathElemsToSkip;
String pathElems[] = new String[n];
for (int i = 0; i < n; i++) {
path_elems[i] = r.getPath()[path_elems_to_skip + i];
pathElems[i] = r.getPath()[pathElemsToSkip + i];
}
List<MimeType> accept_list = Arrays.asList(r.getAccept());
Result sub_result = new Result(r.getSource(), r.getVariables(), path_elems, r.getMatrix(), r.getFormat(), r.hasFormatExtension(), accept_list, r.getContentType());
return sub_result;
List<MimeType> acceptList = Arrays.asList(r.getAccept());
Result subResult = new Result(r.getSource(), r.getVariables(), pathElems, r.getMatrix(), r.getFormat(), r.hasFormatExtension(), acceptList, r.getContentType());
return subResult;
}

private void _callThroughSubresourceLocator(PageContext pc, Component component, UDF udf, String path, Struct variables, Result result, boolean suppressContent, Key methodName)
Expand Down

0 comments on commit 4008b0c

Please sign in to comment.