Fix some javadoc issues

This commit is contained in:
Jón Freysteinn Jónsson 2018-02-15 13:20:56 +01:00
parent 0cf80b5c6a
commit fc7bdc62fb
5 changed files with 5 additions and 5 deletions

View file

@ -283,7 +283,7 @@ public class MediaDataExtractor {
/** /**
* Take our metadata and inject it into a live Media object. * Take our metadata and inject it into a live Media object.
* Media object might contain stale or cached data, or emptiness. * Media object might contain stale or cached data, or emptiness.
* @param media * @param media Media object to inject into
*/ */
public void fill(Media media) { public void fill(Media media) {
if (!fetched) { if (!fetched) {

View file

@ -65,7 +65,7 @@ public class Utils {
/** /**
* Capitalizes the first character of a string. * Capitalizes the first character of a string.
* *
* @param string * @param string String to alter
* @return string with capitalized first character * @return string with capitalized first character
*/ */
public static String capitalize(String string) { public static String capitalize(String string) {

View file

@ -38,7 +38,7 @@ public class LatLng {
/** /**
* gets the latitude and longitude of a given non-null location * gets the latitude and longitude of a given non-null location
* @param location the non-null location of the user * @param location the non-null location of the user
* @return * @return A new instance of the class
*/ */
public static LatLng from(@NonNull Location location) { public static LatLng from(@NonNull Location location) {
return new LatLng(location.getLatitude(), location.getLongitude(), location.getAccuracy()); return new LatLng(location.getLatitude(), location.getLongitude(), location.getAccuracy());

View file

@ -259,7 +259,7 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
/** /**
* This method should be the single point to load/refresh nearby places * This method should be the single point to load/refresh nearby places
* *
* @param isHardRefresh * @param isHardRefresh Should display a toast if the location hasn't changed
*/ */
private void refreshView(boolean isHardRefresh) { private void refreshView(boolean isHardRefresh) {
if (lockNearbyView) { if (lockNearbyView) {

View file

@ -19,7 +19,7 @@ public abstract class OverlayDialog extends DialogFragment {
/** /**
* creates a DialogFragment with the correct style and theme * creates a DialogFragment with the correct style and theme
* @param savedInstanceState * @param savedInstanceState bundle re-constructed from a previous saved state
*/ */
@Override @Override
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {