Skip to content

Commit

Permalink
Fix PMD complaint.
Browse files Browse the repository at this point in the history
  • Loading branch information
zestyping committed Mar 4, 2019
1 parent 0f60ca5 commit ee24f58
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
public class GeoPolyActivityTest extends BaseGeoActivityTest {
@Rule public MockitoRule rule = MockitoJUnit.rule();
private ActivityController<GeoPolyActivity> controller;
private GeoPolyActivity activity;
private FakeLocationClient fakeLocationClient;

@Before public void setUp() throws Exception {
Expand All @@ -50,7 +49,7 @@ public class GeoPolyActivityTest extends BaseGeoActivityTest {

@Test public void testLocationClientLifecycle() {
// Starting the activity should start the location client.
activity = controller.create().start().resume().visible().get();
GeoPolyActivity activity = controller.create().start().resume().visible().get();
assertTrue(fakeLocationClient.isRunning());

// Acquiring a fix should set the location on the map.
Expand Down

0 comments on commit ee24f58

Please sign in to comment.