Skip to content

Commit 3169692

Browse files
committed
Remove unused bullet comments code
1 parent 9443929 commit 3169692

14 files changed

Lines changed: 3 additions & 866 deletions

extractor/src/main/java/org/schabi/newpipe/extractor/InfoItem.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public enum InfoType {
7676
STREAM,
7777
PLAYLIST,
7878
CHANNEL,
79-
COMMENT,
80-
BULLET_COMMENT
79+
COMMENT
8180
}
8281
}

extractor/src/main/java/org/schabi/newpipe/extractor/StreamingService.java

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import org.schabi.newpipe.extractor.channel.ChannelExtractor;
44
import org.schabi.newpipe.extractor.channel.tabs.ChannelTabExtractor;
5-
import org.schabi.newpipe.extractor.bulletComments.BulletCommentsExtractor;
65
import org.schabi.newpipe.extractor.comments.CommentsExtractor;
76
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
87
import org.schabi.newpipe.extractor.exceptions.ParsingException;
@@ -77,7 +76,7 @@ public Set<MediaCapability> getMediaCapabilities() {
7776
}
7877

7978
public enum MediaCapability {
80-
AUDIO, VIDEO, LIVE, COMMENTS, BULLET_COMMENTS
79+
AUDIO, VIDEO, LIVE, COMMENTS
8180
}
8281
}
8382

@@ -164,9 +163,6 @@ public String toString() {
164163
*/
165164
public abstract SearchQueryHandlerFactory getSearchQHFactory();
166165
public abstract ListLinkHandlerFactory getCommentsLHFactory();
167-
public ListLinkHandlerFactory getBulletCommentsLHFactory() {
168-
return null;
169-
}
170166

171167
/*//////////////////////////////////////////////////////////////////////////
172168
// Extractors
@@ -245,10 +241,6 @@ public abstract StreamExtractor getStreamExtractor(LinkHandler linkHandler)
245241

246242
public abstract CommentsExtractor getCommentsExtractor(ListLinkHandler linkHandler)
247243
throws ExtractionException;
248-
public BulletCommentsExtractor getBulletCommentsExtractor(
249-
final ListLinkHandler linkHandler) throws ExtractionException {
250-
return null;
251-
}
252244

253245
/*//////////////////////////////////////////////////////////////////////////
254246
// Extractors without link handler
@@ -311,15 +303,6 @@ public StreamExtractor getStreamExtractor(final String url) throws ExtractionExc
311303
return getStreamExtractor(getStreamLHFactory().fromUrl(url));
312304
}
313305

314-
public BulletCommentsExtractor getBulletCommentsExtractor(final String url)
315-
throws ExtractionException {
316-
final ListLinkHandlerFactory listLinkHandlerFactory = getBulletCommentsLHFactory();
317-
if (listLinkHandlerFactory == null) {
318-
return null;
319-
}
320-
return getBulletCommentsExtractor(listLinkHandlerFactory.fromUrl(url));
321-
}
322-
323306
public CommentsExtractor getCommentsExtractor(final String url) throws ExtractionException {
324307
final ListLinkHandlerFactory listLinkHandlerFactory = getCommentsLHFactory();
325308
if (listLinkHandlerFactory == null) {

extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsExtractor.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfo.java

Lines changed: 0 additions & 91 deletions
This file was deleted.

extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfoItem.java

Lines changed: 0 additions & 90 deletions
This file was deleted.

extractor/src/main/java/org/schabi/newpipe/extractor/bulletComments/BulletCommentsInfoItemExtractor.java

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)