1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

use proper Optional

This commit is contained in:
Patric Gruber 2023-07-07 19:48:55 +02:00 committed by José Rebelo
parent d0c602d243
commit b7e6a39ec1
2 changed files with 2 additions and 2 deletions

View File

@ -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> {

View File

@ -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;