Remove unnecessary local variables

Change-Id: I20ee3f7258d7e98b9c57b49c21b1e2d1582f626f
This commit is contained in:
alex.ryazantsev
2013-11-20 01:45:58 +04:00
committed by Shawn Pearce
parent 23e1a2e824
commit bbf93f85cf
12 changed files with 29 additions and 50 deletions

View File

@@ -219,11 +219,8 @@ public class PatchTable extends Composite {
if (previousPatchIndex < 0) {
return null;
}
InlineHyperlink link =
createLink(previousPatchIndex, patchType,
SafeHtml.asis(Util.C.prevPatchLinkIcon()), null);
return link;
return createLink(previousPatchIndex, patchType,
SafeHtml.asis(Util.C.prevPatchLinkIcon()), null);
}
/**
@@ -234,11 +231,8 @@ public class PatchTable extends Composite {
if (nextPatchIndex < 0) {
return null;
}
InlineHyperlink link =
createLink(nextPatchIndex, patchType, null,
SafeHtml.asis(Util.C.nextPatchLinkIcon()));
return link;
return createLink(nextPatchIndex, patchType, null,
SafeHtml.asis(Util.C.nextPatchLinkIcon()));
}
/**