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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 72f8655  Improved: Try to reduce the SARIF file used by CodeQL for 
Java classes (OFBIZ-12361)
72f8655 is described below

commit 72f86558575a54e5c16748756f7e0a1b7cd82da8
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue Nov 16 17:23:41 2021 +0100

    Improved: Try to reduce the SARIF file used by CodeQL for Java classes 
(OFBIZ-12361)
    
    Try adityasharad's syntax slightly modified
    It also needs a not functional change for codeQL to run
    
    Thanks again to adityasharad from GH CodeQL
---
 .github/workflows/codeql-analysis.yml                                   | 2 +-
 .../java/org/apache/ofbiz/party/party/PartyRelationshipServices.java    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 1a3f2be..e4995f9 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -89,6 +89,6 @@ jobs:
     #- name: Perform CodeQL Analysis
     # uses: github/codeql-action/analyze@v1
 
-    - uses: github/codeql-action@v1
+    - uses: github/codeql-action/analyze@v1
       with:
         debug: true
diff --git 
a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java
 
b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java
index 22ebe89..8865b08 100644
--- 
a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java
+++ 
b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java
@@ -46,6 +46,7 @@ import org.apache.ofbiz.service.ServiceUtil;
 public class PartyRelationshipServices {
 
     private static final String MODULE = 
PartyRelationshipServices.class.getName();
+
     private static final String RES_ERROR = "PartyErrorUiLabels";
 
     /** Creates and updates a PartyRelationship creating related PartyRoles if 
needed.

Reply via email to