collect icon indicating copy to clipboard operation
collect copied to clipboard

Unused Methods and Variables

Open nsai500 opened this issue 9 years ago • 12 comments

There are some unused methods and variables.Some of them are assigned but were never used and can be removed safely. Below is a list of the class name with respective methods and variables

  1. AppListActivity--getCheckedIdObjects method is never used

  2. BearingActivity--mBearing variable is never used(assigned value mBearing = String.format("%.3f", degrees)

  3. FormEntryActivity--saveAnswer method is never used

  4. GeoPointMapActivity--mRefreshLocation never used mZoomed(assigned some values but never used) mLocationAccuracy (assigned some values but never used)

  5. GeoPointOsmMapActivity-- mHandler , sharedPreferences , basemap never used mZoomed (assigned some values but never used) mLocationAccuracy (assigned some values but never used)

  6. GeoShapeGoogleMapActivity-- sharedPreferences ,basemap,gmapSettings ,polygon_button never used initZoom(assigned some values but never used) latLngsArray (assigned some values but never used) data_loaded (assigned some values but never used) clear_button_test (assigned some values but never used)

  7. GeoShapeOsmMapActivity--polygon_connection(assigned some values but never used) sharedPreferences , layerStatus , selected_layer never used

  8. GeoTraceGoogleMapActivity-- polygon_button , progress , sharedPreferences , gmapSettings basemap , latLngsArray never used inital_location_found (assigned some values but never used) clear_button_test (assigned some values but never used) initZoom(assigned some values but never used)

  9. GeoTraceOsmMapActivity-- sharedPreferences(assigned some values but never used) inital_location_found(assigned some values but never used)

nsai500 avatar Mar 14 '17 21:03 nsai500

Shall I work on this?

anuradhagupta345 avatar Mar 15 '17 03:03 anuradhagupta345

@anuradhagupta345 Have you made any progress on this?

supreme96 avatar Mar 15 '17 15:03 supreme96

@nsai500 If you would like to address this, please go ahead. Please add a different commit for each file.

lognaturel avatar Mar 15 '17 16:03 lognaturel

@lognaturel I won't be available for a couple of days. Anyone else who wants to work on this can go ahead.

nsai500 avatar Mar 15 '17 17:03 nsai500

@lognaturel I'll take this one!

supreme96 avatar Mar 15 '17 17:03 supreme96

@supreme96 Have you made any progress on this??if not then i will go for it

royrivnam avatar Mar 16 '17 11:03 royrivnam

@royrivnam Yeah. I am working on this one.

supreme96 avatar Mar 16 '17 11:03 supreme96

@supreme96 can i also give this a try if you don't mind.. or just leave a comment if you by any chance get busy with something else before completing this issue..then i shall try

royrivnam avatar Mar 16 '17 12:03 royrivnam

I don't think that would work very well. Can you please pick another issue?

supreme96 avatar Mar 16 '17 12:03 supreme96

its okay... its all yours....

royrivnam avatar Mar 16 '17 12:03 royrivnam

Fixed in #661

shobhitagarwal1612 avatar Mar 28 '17 20:03 shobhitagarwal1612

Thanks @shobhitagarwal1612!

lognaturel avatar Mar 28 '17 22:03 lognaturel