You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2021/12/14 21:36:21 UTC

[openwebbeans] 02/02: OWB-1398 change back method name for API compat

This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git

commit 0ff340622599dea85f52fafb361814ac9f4f5fd7
Author: Mark Struberg <st...@apache.org>
AuthorDate: Tue Dec 14 22:35:11 2021 +0100

    OWB-1398 change back method name for API compat
---
 .../apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java b/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
index 812c915..64c7838 100644
--- a/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
+++ b/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
@@ -325,7 +325,7 @@ public abstract class AbstractMetaDataDiscovery implements BdaScannerService
         String path = url.toExternalForm();   
         // TODO: should extract file path and test file.getName(), not the whole path
         // + should be configurable
-        int knownJarIdx = getKnownJarIdx(path);
+        int knownJarIdx = isExcludedJar(path);
         // -Prun-its openwebbeans-tomcat7 in path but WEB-INF/classes
         if (knownJarIdx > 0 && knownJarIdx < path.indexOf(".jar"))
         {
@@ -353,7 +353,7 @@ public abstract class AbstractMetaDataDiscovery implements BdaScannerService
         return false;
     }
 
-    protected int getKnownJarIdx(String path)
+    protected int isExcludedJar(String path)
     {
         // lazy init - required when using DS CdiTestRunner
         initScanningExcludes();