Remove unnecessary local variables
Change-Id: I20ee3f7258d7e98b9c57b49c21b1e2d1582f626f
This commit is contained in:
committed by
Shawn Pearce
parent
23e1a2e824
commit
bbf93f85cf
@@ -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()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user