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

Michael Osipov closed DOXIA-745.
--------------------------------
    Resolution: Fixed

Fixed with 
[864eb9c375b1a624de92a61c8a61cc0eebf450bd|https://gitbox.apache.org/repos/asf?p=maven-doxia.git&a=commit&h=864eb9c375b1a624de92a61c8a61cc0eebf450bd].

> Incorrect value comparison for string type in AbstractParserTest
> ----------------------------------------------------------------
>
>                 Key: DOXIA-745
>                 URL: https://issues.apache.org/jira/browse/DOXIA-745
>             Project: Maven Doxia
>          Issue Type: Test
>          Components: Core
>    Affects Versions: 2.0.0
>            Reporter: Kai Hofmann
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.1
>
>
> [WARN] 
> C:\Users\PowerStat\Documents\Maven\maven-doxia\doxia-core\src\test\java\org\apache\maven\doxia\parser\AbstractParserTest.java:277:40:
> Der Vergleich von String-Literalen sollte mit equals() erfolgen, nicht mit 
> '!='. [StringLiteralEquality]
> Line
>             if (currentEvent.getName() != "text") {
> should be replaced with:
>             if (!"text".equals(currentEvent.getName())) {



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

Reply via email to