summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/ConvWatch.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 10:19:51 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 10:35:53 +0200
commit60f152caeee38579433a31dd3a98e91dc3d23ff6 (patch)
tree15ba69f938e09bb173ca7de2e1b21b62e740ea40 /qadevOOo/runner/convwatch/ConvWatch.java
parent2922a967a1da5f9c0a07b5390906307d0ae6fe48 (diff)
java: avoid unnecessary comparisons in boolean expressions
i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
Diffstat (limited to 'qadevOOo/runner/convwatch/ConvWatch.java')
-rw-r--r--qadevOOo/runner/convwatch/ConvWatch.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/convwatch/ConvWatch.java b/qadevOOo/runner/convwatch/ConvWatch.java
index 7187ec5f52a3..588814ea7d90 100644
--- a/qadevOOo/runner/convwatch/ConvWatch.java
+++ b/qadevOOo/runner/convwatch/ConvWatch.java
@@ -149,7 +149,7 @@ public class ConvWatch
throw new ConvWatchCancelException("createPostscriptStartCheck: Printed file " + sAbsolutePrintFile + " does not exist.");
}
- if (bAbsoluteReferenceFile == false)
+ if (!bAbsoluteReferenceFile)
{
// copy AbsolutePrintFile to AbsoluteReferenceFile
String sDestinationFile = sAbsolutePrintFile; // URLHelper.getSystemPathFromFileURL(...)
@@ -170,7 +170,7 @@ public class ConvWatch
a.setOutputPath( _sOutputPath );
a.setReferenceFile( sReferenceFile );
a.setPostScriptFile(sPostScriptFile );
- if (_aGTA.printAllPages() == true)
+ if (_aGTA.printAllPages())
{
a.setMaxPages(9999);
}
@@ -365,7 +365,7 @@ public class ConvWatch
createINIStatus_DiffDiff(aDiffDiffList, "DiffDiff_", _sOutputPath, _sAbsoluteInputFile, _aGTA.getBuildID());
- if (bFoundAOldDiff == false)
+ if (!bFoundAOldDiff)
{
throw new ConvWatchCancelException("No old difference file found." );
}