You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2020/06/10 09:01:10 UTC
[openwebbeans] branch master updated: checkstyle correction
This is an automated email from the ASF dual-hosted git repository.
gerdogdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git
The following commit(s) were added to refs/heads/master by this push:
new e85998f checkstyle correction
e85998f is described below
commit e85998fd95c1320070ae2ee8f142d4406147108b
Author: Gurkan Erdogdu <cg...@gmail.com>
AuthorDate: Wed Jun 10 12:00:56 2020 +0300
checkstyle correction
---
.../org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 c011670..2139362 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
@@ -286,7 +286,8 @@ public abstract class AbstractMetaDataDiscovery implements BdaScannerService
{
// we could check for META-INF/maven/org.apache.geronimo.specs presence there but this is faster
File file = Files.toFile(url);
- if(file!= null && file.exists()) {
+ if(file!= null && file.exists())
+ {
final String filename = file.getName();
if (filename.startsWith("geronimo-") && filename.contains("_spec"))
{