Skip to content

Commit e0359ab

Browse files
authored
Merge pull request #1263 from litetex/followup-1262
Partial followup for #1262
2 parents ea40163 + 1c45d4e commit e0359ab

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ private YoutubeParsingHelper() {
213213
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
214214

215215
/**
216-
* The device machine id for the iPhone 15, used to get 60fps with the {@code iOS} client.
216+
* The device machine id for the iPhone 15 Pro Max,
217+
* used to get 60fps with the {@code iOS} client.
217218
*
218219
* <p>
219220
* See <a href="https://gist.github.com/adamawolf/3048717">this GitHub Gist</a> for more

extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.io.ByteArrayOutputStream;
44
import java.io.IOException;
5+
import java.io.UncheckedIOException;
56
import java.net.URLEncoder;
67
import java.nio.charset.StandardCharsets;
78
import java.util.Base64;
@@ -39,7 +40,7 @@ private void writeVarint(final long val) {
3940
}
4041
}
4142
} catch (final IOException e) {
42-
throw new RuntimeException(e);
43+
throw new UncheckedIOException(e);
4344
}
4445
}
4546

@@ -66,7 +67,7 @@ public void bytes(final int field, final byte[] bytes) {
6667
try {
6768
byteBuffer.write(bytes);
6869
} catch (final IOException e) {
69-
throw new RuntimeException(e);
70+
throw new UncheckedIOException(e);
7071
}
7172
}
7273
}

0 commit comments

Comments
 (0)