You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/05 11:09:32 UTC
(commons-bsf) branch master updated: Use Java naming in comments, not C++
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-bsf.git
The following commit(s) were added to refs/heads/master by this push:
new 251a615 Use Java naming in comments, not C++
251a615 is described below
commit 251a615845a67e98ce17bb1b258d19fbe62c50a8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 5 06:09:27 2024 -0500
Use Java naming in comments, not C++
---
src/main/java/org/apache/bsf/util/MethodUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bsf/util/MethodUtils.java b/src/main/java/org/apache/bsf/util/MethodUtils.java
index 4a352fc..493facb 100644
--- a/src/main/java/org/apache/bsf/util/MethodUtils.java
+++ b/src/main/java/org/apache/bsf/util/MethodUtils.java
@@ -256,7 +256,7 @@ public class MethodUtils {
if (
// 15.11.2.1 ACCESSIBLE: Method is public.
Modifier.isPublic(entryGetModifiers(mi)) &&
- // 15.11.2.1 APPLICABLE: Right method name (or c'tor)
+ // 15.11.2.1 APPLICABLE: Right method name (or constructor)
(methodName == null || entryGetName(mi).equals(methodName)) &&
// 15.11.2.1 APPLICABLE: Parameters match arguments
areMethodConvertable(entryGetParameterTypes(mi), argTypes)) {