Add end-of-file-fixer pre-commit hook (#3176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -52,4 +52,3 @@ public abstract class LibraryLoader {
|
||||
|
||||
public abstract void load(String name);
|
||||
}
|
||||
|
||||
|
||||
@@ -313,4 +313,4 @@ class Bubble extends Drawable {
|
||||
+ rect.left, cornersRadius + rect.top), 180, 90);
|
||||
path.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,3 @@ public interface CompassListener {
|
||||
*/
|
||||
void onCompassAccuracyChange(int compassStatus);
|
||||
}
|
||||
|
||||
|
||||
@@ -481,4 +481,4 @@ final class LocationCameraController {
|
||||
return super.onTouchEvent(motionEvent);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -305,4 +305,4 @@ public class LocationComponentActivationOptions {
|
||||
useSpecializedLocationLayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -331,4 +331,4 @@ class LocationComponentCompassEngine implements CompassEngine, SensorEventListen
|
||||
return event.values;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,4 +340,4 @@ final class LocationLayerController {
|
||||
void adjustPulsingCircleLayerVisibility(boolean visible) {
|
||||
locationLayerRenderer.adjustPulsingCircleLayerVisibility(visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,4 @@ internal class MapLibreAnimatorListener(cancelableCallback: MapLibreMap.Cancelab
|
||||
override fun onAnimationEnd(animation: Animator) {
|
||||
cancelableCallback?.onFinish()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,4 +17,4 @@ class MapLibrePaddingAnimator internal constructor(
|
||||
public override fun provideEvaluator(): TypeEvaluator<DoubleArray> {
|
||||
return PaddingEvaluator()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ internal class PaddingEvaluator : TypeEvaluator<DoubleArray> {
|
||||
padding[3] = startValue[3] + (endValue[3] - startValue[3]) * fraction
|
||||
return padding
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,4 +79,4 @@ public interface LocationEngine {
|
||||
* @since 1.1.0
|
||||
*/
|
||||
void removeLocationUpdates(PendingIntent pendingIntent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,4 @@ public interface LocationEngineCallback<T> {
|
||||
* @param exception {@link Exception}
|
||||
*/
|
||||
void onFailure(@NonNull Exception exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,4 +77,4 @@ public class LocationEngineProxy<T> implements LocationEngine {
|
||||
T removeListener(@NonNull LocationEngineCallback<LocationEngineResult> callback) {
|
||||
return listeners != null ? listeners.remove(callback) : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,4 +239,3 @@ public class LocationEngineRequest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Contains the MapLibre Location layer component camera and render modes.
|
||||
*/
|
||||
package org.maplibre.android.location.modes;
|
||||
package org.maplibre.android.location.modes;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Contains the MapLibre Location layer component.
|
||||
*/
|
||||
package org.maplibre.android.location;
|
||||
package org.maplibre.android.location;
|
||||
|
||||
@@ -319,4 +319,4 @@ public final class Logger {
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface LogLevel {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,4 +99,4 @@ public interface LoggerDefinition {
|
||||
* @param tr An exception to log
|
||||
*/
|
||||
void e(String tag, String msg, Throwable tr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Contains the MapLibre Maps Android Log API classes.
|
||||
*/
|
||||
package org.maplibre.android.log;
|
||||
package org.maplibre.android.log;
|
||||
|
||||
@@ -84,4 +84,4 @@ class AnnotationContainer implements Annotations {
|
||||
nativeMap.removeAnnotations(ids);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -643,4 +643,4 @@ class MapChangeReceiver implements NativeMapView.StateCallback {
|
||||
onSpriteErrorList.clear();
|
||||
onSpriteRequestedList.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,4 +144,4 @@ class MarkerContainer implements Markers {
|
||||
}
|
||||
return annotations;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -293,4 +293,4 @@ interface NativeMap {
|
||||
long getNativePtr();
|
||||
|
||||
void addSnapshotCallback(@NonNull MapLibreMap.SnapshotReadyCallback callback);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,4 +128,4 @@ public class SurfaceViewMapRenderer extends MapRenderer {
|
||||
public MapRenderer.RenderingRefreshMode getRenderingRefreshMode() {
|
||||
return surfaceView.getRenderingRefreshMode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,4 +202,4 @@ public class HttpRequestImpl implements HttpRequest {
|
||||
}
|
||||
return dispatcher;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,4 +69,4 @@ public class HttpRequestUtil {
|
||||
}
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,4 +167,4 @@ public abstract class Layer {
|
||||
public boolean isDetached() {
|
||||
return detached;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,4 +239,4 @@ public class Light {
|
||||
|
||||
@Keep
|
||||
private native void nativeSetIntensityTransition(long duration, long delay);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,4 +151,4 @@ public class Light {
|
||||
private native void nativeSet<%- camelize(property.name) %>Transition(long duration, long delay);
|
||||
<% } -%>
|
||||
<% } -%>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,4 +80,4 @@ public class FontUtils {
|
||||
}
|
||||
return fonts;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user