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

Slawomir Jaranowski reassigned MCHECKSTYLE-401:
-----------------------------------------------

    Assignee: Elliotte Rusty Harold

> NullPointerException in Violation class
> ---------------------------------------
>
>                 Key: MCHECKSTYLE-401
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-401
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Assignee: Elliotte Rusty Harold
>            Priority: Minor
>              Labels: up-for-grabs
>             Fix For: 3.2.0
>
>
> import org.junit.Assert;
> import org.junit.Test;
> public class ViolationTest
> {
> @Test
>  public void testEquals() {
>  Violation v1 = new Violation("", null, "", "", "", "", "");
>  Violation v2 = new Violation("", null, "", "", "", "", "");
>  Assert.assertEquals( v1, v2 );
>  }
>  
>  
> }



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to