Skip to content

Commit 182c95b

Browse files
committed
Remove redundant variable setting info
1 parent dcae560 commit 182c95b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private List<MusicDirectory.Entry> createMusicSongs(int size) {
278278
musicEntry.setBitRate(198);
279279
musicEntry.setAlbumId("49");
280280
musicEntry.setDuration(247);
281-
musicEntry.setSize(Long.valueOf(6162717));
281+
musicEntry.setSize(6162717L);
282282
musicEntry.setArtistId("23");
283283
musicEntry.setArtist("The Dada Weatherman");
284284
musicEntry.setCloseness(0);

app/src/main/java/github/daneren2005/dsub/util/tags/ID3v2File.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public HashMap getTags(RandomAccessFile s) throws IOException {
4848
v3len = ((v3len & 0x7f000000) >> 3) | // for some funky reason, this is encoded as 7*4 bits
4949
((v3len & 0x007f0000) >> 2) |
5050
((v3len & 0x00007f00) >> 1) |
51-
((v3len & 0x0000007f) >> 0) ;
51+
((v3len & 0x0000007f)) ;
5252

5353
// debug(">> tag version ID3v2."+id3v);
5454
// debug(">> LEN= "+v3len+" // "+v3len);

0 commit comments

Comments
 (0)