Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix gradlew lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
urvil38 committed Oct 15, 2023
1 parent e85c505 commit a696137
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import androidx.annotation.Nullable;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

public enum CustomLayoutFieldType {
GENERIC(1),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import android.content.res.Resources;
import android.util.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import android.content.Context;
import android.util.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.dennisguse.opentracks.ui.customrecordinglayout;
package de.dennisguse.opentracks.ui.customRecordingLayout;

import android.content.Context;
import android.view.LayoutInflater;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ protected void onCreate(Bundle bundle) {
super.onCreate(bundle);

Object bundleMarkerId = getIntent().getExtras().get(EXTRA_MARKER_ID);
Marker.Id markerId = null;
if(bundleMarkerId instanceof Marker.Id id){
markerId = id;
}
Marker.Id markerId = (bundleMarkerId instanceof Marker.Id markerId) ? (Marker.Id) bundleMarkerId : null;
if (bundleMarkerId instanceof Long) {
//Incoming Intent via Dashboard API.
markerId = new Marker.Id((Long) bundleMarkerId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public void onAnimationStart(Animation anim) {
throw new UnsupportedOperationException("onAnimationStart is not supported for this class.");
}


@Override
public void onAnimationRepeat(Animation anim) {}


@Override
Expand Down

0 comments on commit a696137

Please sign in to comment.