Skip to content

Commit 565957e

Browse files
committed
Remove redundant variable setting info
1 parent 8b22a9a commit 565957e

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
@@ -279,7 +279,7 @@ private List<MusicDirectory.Entry> createMusicSongs(int size) {
279279
musicEntry.setBitRate(198);
280280
musicEntry.setAlbumId("49");
281281
musicEntry.setDuration(247);
282-
musicEntry.setSize(Long.valueOf(6162717));
282+
musicEntry.setSize(6162717L);
283283
musicEntry.setArtistId("23");
284284
musicEntry.setArtist("The Dada Weatherman");
285285
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)