Skip to content

Commit 81fd089

Browse files
committed
ktlint: Fix block comment violations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent 1466dd1 commit 81fd089

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ktlint_standard_blank-line-before-declaration = disabled
1616
ktlint_standard_blank-line-between-when-conditions = disabled
1717
ktlint_standard_chain-method-continuation = disabled
1818
ktlint_standard_class-signature = disabled
19-
ktlint_standard_comment-wrapping = disabled
2019
ktlint_standard_enum-wrapping = disabled
2120
ktlint_standard_function-expression-body = disabled
2221
ktlint_standard_function-literal = disabled

app/src/main/java/org/schabi/newpipe/player/mediabrowser/MediaBrowserImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class MediaBrowserImpl(
138138
)
139139
}
140140

141-
when (/*val uriType = */path.removeAt(0)) {
141+
when (path.removeAt(0)) {
142142
ID_BOOKMARKS -> {
143143
if (path.isEmpty()) {
144144
return populateBookmarks()

app/src/main/java/org/schabi/newpipe/player/mediabrowser/MediaBrowserPlaybackPreparer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class MediaBrowserPlaybackPreparer(
146146
throw parseError(mediaId)
147147
}
148148

149-
return when (/*val uriType = */path.removeAt(0)) {
149+
return when (path.removeAt(0)) {
150150
ID_BOOKMARKS -> extractPlayQueueFromPlaylistMediaId(
151151
mediaId,
152152
path,
@@ -237,7 +237,7 @@ class MediaBrowserPlaybackPreparer(
237237
}
238238

239239
val serviceId = path[1].toInt()
240-
return when (/*val infoItemType = */infoItemTypeFromString(path[0])) {
240+
return when (infoItemTypeFromString(path[0])) {
241241
InfoType.STREAM -> ExtractorHelper.getStreamInfo(serviceId, url, false)
242242
.map { SinglePlayQueue(it) }
243243

0 commit comments

Comments
 (0)