Bug: Repeated conditional test in
org.eclipse.equinox.spi.p2.publisher.PublisherHelper.fromOSGiVersion(Version)

The code contains a conditional test is performed twice, one right after
the other (e.g., x == 0 || x == 0). Perhaps the second occurrence is
intended to be something else (e.g., x == 0 || y == 0).

Rank: Scary (6), confidence: High
Pattern: RpC_REPEATED_CONDITIONAL_TEST
Type: RpC, Category: CORRECTNESS (Correctness)

Change-Id: I9d5f1d8c05859048fc66c131d6672e1ab962a7a2
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
1 file changed