This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jci.git
The following commit(s) were added to refs/heads/master by this push:
new 7262f68 Normalize parameter names
7262f68 is described below
commit 7262f684c9dcdaf7bcb28e05d701690415e90c81
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Oct 19 09:24:17 2023 -0400
Normalize parameter names
---
.../compiler/janino/JaninoCompilationProblem.java | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
a/compilers/janino/src/main/java/org/apache/commons/jci2/compiler/janino/JaninoCompilationProblem.java
b/compilers/janino/src/main/java/org/apache/commons/jci2/compiler/janino/JaninoCompilationProblem.java
index 4e07078..f249833 100755
---
a/compilers/janino/src/main/java/org/apache/commons/jci2/compiler/janino/JaninoCompilationProblem.java
+++
b/compilers/janino/src/main/java/org/apache/commons/jci2/compiler/janino/JaninoCompilationProblem.java
@@ -33,23 +33,23 @@ public final class JaninoCompilationProblem implements
CompilationProblem {
private final String message;
private final boolean error;
- public JaninoCompilationProblem(final LocatedException pLocatedException) {
- this(pLocatedException.getLocation(), pLocatedException.getMessage(),
true);
+ public JaninoCompilationProblem(final LocatedException locatedException) {
+ this(locatedException.getLocation(), locatedException.getMessage(),
true);
}
- public JaninoCompilationProblem(final Location pLocation, final String
pMessage, final boolean pError) {
- this(pLocation.getFileName(), pLocation, pMessage, pError);
+ public JaninoCompilationProblem(final Location pLocation, final String
message, final boolean error) {
+ this(pLocation.getFileName(), pLocation, message, error);
}
- public JaninoCompilationProblem(final String pFilename, final String
pMessage, final boolean pError) {
- this(pFilename, null, pMessage, pError);
+ public JaninoCompilationProblem(final String fileName, final String
message, final boolean error) {
+ this(fileName, null, message, error);
}
- public JaninoCompilationProblem(final String pFilename, final Location
pLocation, final String pMessage, final boolean pError) {
- location = pLocation;
- fileName = pFilename;
- message = pMessage;
- error = pError;
+ public JaninoCompilationProblem(final String fileName, final Location
location, final String message, final boolean error) {
+ this.location = location;
+ this.fileName = fileName;
+ this.message = message;
+ this.error = error;
}
public boolean isError() {