Enable checkstyle for simple boolean expressions
This commit is contained in:
@@ -240,7 +240,7 @@ public class DownloadController implements LastModified {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (coverArtFile != null && coverArtFile.exists() && cover_embedded == false) {
|
||||
if (coverArtFile != null && coverArtFile.exists() && !cover_embedded) {
|
||||
zip(out, coverArtFile.getParentFile(), coverArtFile, status, range);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ public class MetricsManager {
|
||||
*/
|
||||
public TimerBuilder condition(boolean ifTrue) {
|
||||
if (metricsActivatedByConfiguration()) {
|
||||
if (ifTrue == false) {
|
||||
if (!ifTrue) {
|
||||
return conditionFalseTimerBuilderSingleton;
|
||||
}
|
||||
return new TimerBuilder();
|
||||
|
||||
Reference in New Issue
Block a user