Skip to content

Commit 90a76b0

Browse files
committed
fix
1 parent b482496 commit 90a76b0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/com/qiniu/api/net/EncodeUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public static byte[] urlsafeBase64Decode(String encoded){
4646
rawbs[i] = '+';
4747
}
4848
}
49-
byte[] db64 = Base64.decodeBase64(rawbs);
50-
return db64;
49+
return Base64.decodeBase64(rawbs);
5150
}
5251

5352
public static String urlsafeEncodeString(byte[] src) {

src/test/java/com/qiniu/testing/UtilTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ public void test() throws Exception {
2020
public void tearDown() {
2121
// do nothing here.
2222
}
23-
}
23+
}

0 commit comments

Comments
 (0)