# HG changeset patch # User eugene.petrenko@jetbrains.com # Date 1388754249 -3600 # Node ID 68251dea7eae41bd6e82dc79a150d79ca3a08178 # Parent a07f685ce394f6ea451caebd357a0aaea62fb639 resolve IDEA warning diff -r a07f685ce394 -r 68251dea7eae mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/LogCommand.java --- a/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/LogCommand.java Fri Dec 27 19:10:48 2013 +0100 +++ b/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/LogCommand.java Fri Jan 03 14:04:09 2014 +0100 @@ -66,12 +66,12 @@ } public LogCommand fromRevision(@Nullable String fromRevision) { - myFromId = fromRevision == null ? fromRevision : new ChangeSet(fromRevision).getId(); + myFromId = fromRevision == null ? null : new ChangeSet(fromRevision).getId(); return this; } public LogCommand toRevision(@Nullable String toRevision) { - myToId = toRevision == null ? toRevision: new ChangeSet(toRevision).getId(); + myToId = toRevision == null ? null : new ChangeSet(toRevision).getId(); return this; }