mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 14:32:54 +01:00
use proper Optional
This commit is contained in:
parent
d0c602d243
commit
b7e6a39ec1
@ -10,8 +10,8 @@ import nodomain.freeyourgadget.gadgetbridge.entities.PineTimeActivitySample;
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.entities.PineTimeActivitySampleDao;
|
import nodomain.freeyourgadget.gadgetbridge.entities.PineTimeActivitySampleDao;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.model.ActivityKind;
|
import nodomain.freeyourgadget.gadgetbridge.model.ActivityKind;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.util.Optional;
|
||||||
|
|
||||||
import java.util.Optional;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class PineTimeActivitySampleProvider extends AbstractSampleProvider<PineTimeActivitySample> {
|
public class PineTimeActivitySampleProvider extends AbstractSampleProvider<PineTimeActivitySample> {
|
||||||
|
@ -51,7 +51,7 @@ import java.text.SimpleDateFormat;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
import java.util.Optional;
|
import nodomain.freeyourgadget.gadgetbridge.util.Optional;
|
||||||
|
|
||||||
import co.nstant.in.cbor.CborBuilder;
|
import co.nstant.in.cbor.CborBuilder;
|
||||||
import co.nstant.in.cbor.CborEncoder;
|
import co.nstant.in.cbor.CborEncoder;
|
||||||
|
Loading…
Reference in New Issue
Block a user