Skip to content

Commit af82edf

Browse files
committed
Fix checkstyle problems
1 parent 29408f9 commit af82edf

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKiosk.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.grack.nanojson.JsonObject;
55
import com.grack.nanojson.JsonParser;
66
import com.grack.nanojson.JsonParserException;
7+
78
import org.schabi.newpipe.extractor.Page;
89
import org.schabi.newpipe.extractor.StreamingService;
910
import org.schabi.newpipe.extractor.downloader.Downloader;
@@ -14,11 +15,10 @@
1415
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
1516
import org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector;
1617

17-
import javax.annotation.Nonnull;
1818
import java.io.IOException;
19-
import java.time.OffsetDateTime;
2019
import java.util.Comparator;
21-
import java.util.function.Function;
20+
21+
import javax.annotation.Nonnull;
2222

2323
public class MediaCCCRecentKiosk extends KioskExtractor<StreamInfoItem> {
2424

extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKioskExtractor.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
package org.schabi.newpipe.extractor.services.media_ccc.extractors;
22

33
import com.grack.nanojson.JsonObject;
4+
45
import org.schabi.newpipe.extractor.exceptions.ParsingException;
56
import org.schabi.newpipe.extractor.localization.DateWrapper;
67
import org.schabi.newpipe.extractor.services.media_ccc.linkHandler.MediaCCCConferenceLinkHandlerFactory;
78
import org.schabi.newpipe.extractor.stream.StreamInfoItemExtractor;
89
import org.schabi.newpipe.extractor.stream.StreamType;
910

10-
import javax.annotation.Nullable;
1111
import java.time.ZonedDateTime;
1212
import java.time.format.DateTimeFormatter;
1313

14+
import javax.annotation.Nullable;
15+
1416
public class MediaCCCRecentKioskExtractor implements StreamInfoItemExtractor {
1517

1618
private final JsonObject event;
@@ -46,8 +48,8 @@ public boolean isAd() {
4648

4749
@Override
4850
public long getDuration() {
49-
// duration and length have the same value
50-
// see https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder
51+
// duration and length have the same value, see
52+
// https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder
5153
return event.getInt("duration");
5254
}
5355

0 commit comments

Comments
 (0)