Skip to content

Commit 3570fd6

Browse files
committed
Changed member variable to local variable.
1 parent 35eac4b commit 3570fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ActivityUtils {
2121

2222
private final Instrumentation inst;
2323
private ActivityMonitor activityMonitor;
24-
private Activity activity, storedActivity;;
24+
private Activity activity;
2525
private final Sleeper sleeper;
2626
private ArrayList<Activity> activityList = new ArrayList<Activity>();
2727

@@ -138,7 +138,7 @@ public Activity getCurrentActivity(boolean shouldSleepFirst) {
138138
if (activityMonitor.getLastActivity() != null)
139139
activity = activityMonitor.getLastActivity();
140140
}
141-
141+
Activity storedActivity;
142142
for(int i = 0; i < activityList.size(); i++){
143143
storedActivity = activityList.get(i);
144144
if (storedActivity.getClass().getName().equals(

0 commit comments

Comments
 (0)