aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-checksum
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-31 09:29:29 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-31 09:29:29 +0000
commitbf6b8b7c621d3ad6461fee30e0e9f7a663b5050e (patch)
treee00aaa643ef1e9e2a73fd31771c214a46bea7223 /archiva-modules/archiva-base/archiva-checksum
parentc81c17b1531b81c893d4034495dac4a1258c4bb5 (diff)
downloadarchiva-bf6b8b7c621d3ad6461fee30e0e9f7a663b5050e.tar.gz
archiva-bf6b8b7c621d3ad6461fee30e0e9f7a663b5050e.zip
simplify some boolean expressions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427059 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-checksum')
-rw-r--r--archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
index 029e45fd2..fb7628d0f 100644
--- a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
+++ b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
@@ -192,7 +192,7 @@ public class ChecksummedFile
String rawChecksum = FileUtils.readFileToString( checksumFile );
String expectedChecksum = parseChecksum( rawChecksum, checksumAlgorithm, referenceFile.getName() );
- if ( StringUtils.equalsIgnoreCase( expectedChecksum, checksum.getChecksum() ) == false )
+ if ( !StringUtils.equalsIgnoreCase( expectedChecksum, checksum.getChecksum() ) )
{
valid = false;
}