[ 
https://issues.apache.org/jira/browse/NIFI-15747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-15747:
------------------------------------
    Description: 
As a result of the code-compliance check being turned off for PR commits there 
are Checkstyle violations which fell through the cracks. A case in point is for 
class TestJsonSchemaInference where changes were made in it for NIFI-15745 in 
PR [#11039|https://github.com/apache/nifi/pull/11039] and it was approved and 
merged even though it had two Checkstyle violations.
{code:java}
Warning:  
src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[41,15] 
(imports) UnusedImports: Unused import - 
org.junit.jupiter.api.Assertions.assertNotNull.
Warning:  src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[159] 
(regexp) RegexpSinglelineJava: Line has trailing whitespace. {code}
The purpose of this ticket is to correct the above Checkstyle violations in 
TestJsonSchemaInference.

 

  was:
As a result of the code-compliance check being turned off for PR commits, 
Checkstyle violations are falling through the cracks. A case in point is for 
class TestJsonSchemaInference where changes were made in it for NIFI-15745 in 
PR [#11039|https://github.com/apache/nifi/pull/11039] and it was approved and 
merged even though it had two Checkstyle violations.
{code:java}
Warning:  
src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[41,15] 
(imports) UnusedImports: Unused import - 
org.junit.jupiter.api.Assertions.assertNotNull.
Warning:  src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[159] 
(regexp) RegexpSinglelineJava: Line has trailing whitespace. {code}
The purpose of this ticket is to correct the above Checkstyle violations in 
TestJsonSchemaInference.

 


> Fix Checkstyle violations in TestJsonSchemaInference
> ----------------------------------------------------
>
>                 Key: NIFI-15747
>                 URL: https://issues.apache.org/jira/browse/NIFI-15747
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> As a result of the code-compliance check being turned off for PR commits 
> there are Checkstyle violations which fell through the cracks. A case in 
> point is for class TestJsonSchemaInference where changes were made in it for 
> NIFI-15745 in PR [#11039|https://github.com/apache/nifi/pull/11039] and it 
> was approved and merged even though it had two Checkstyle violations.
> {code:java}
> Warning:  
> src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[41,15] 
> (imports) UnusedImports: Unused import - 
> org.junit.jupiter.api.Assertions.assertNotNull.
> Warning:  
> src/test/java/org/apache/nifi/json/TestJsonSchemaInference.java:[159] 
> (regexp) RegexpSinglelineJava: Line has trailing whitespace. {code}
> The purpose of this ticket is to correct the above Checkstyle violations in 
> TestJsonSchemaInference.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to