Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit e463b46

Browse files
authored
Merge pull request #435 from rickle-msft/dev
10.5.0 release prep
2 parents e6cc684 + d4a55dc commit e463b46

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>
3333
<artifactId>azure-storage-blob</artifactId>
34-
<version>10.4.0</version>
34+
<version>10.5.0</version>
3535
</dependency>
3636
```
3737

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.microsoft.azure</groupId>
1616
<artifactId>azure-storage-blob</artifactId>
17-
<version>10.4.0</version>
17+
<version>10.5.0</version>
1818

1919
<name>Azure Storage Blob</name>
2020
<description>The Azure Storage Java Blob library.</description>

src/main/java/com/microsoft/azure/storage/blob/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ static final class HeaderConstants {
184184
/**
185185
* Specifies the value to use for UserAgent header.
186186
*/
187-
static final String USER_AGENT_VERSION = "10.4.0";
187+
static final String USER_AGENT_VERSION = "10.5.0";
188188

189189
private HeaderConstants() {
190190
// Private to prevent construction.

src/test/java/com/microsoft/azure/storage/Samples.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ public void exampleFileTransfer() throws IOException, InvalidKeyException {
14571457
We create a simple flowable for the purposes of demonstration, but the Flowable in question need not
14581458
produce a repeatable sequence of items. A network stream would be a common use for this api.
14591459
*/
1460-
Flowable<ByteBuffer> data = Flowable.just(ByteBuffer.allocate(0));
1460+
Flowable<ByteBuffer> data = Flowable.just(ByteBuffer.allocate(1));
14611461
return TransferManager.uploadFromNonReplayableFlowable(data, blobURL, 4 * 1024 * 1024, 2, null);
14621462
})
14631463
.flatMap(response ->
@@ -1578,7 +1578,7 @@ public void exampleLazyEnumeration() throws MalformedURLException, InvalidKeyExc
15781578
URL u = new URL(String.format(Locale.ROOT, "https://%s.blob.core.windows.net/", accountName));
15791579
ServiceURL s = new ServiceURL(u,
15801580
StorageURL.createPipeline(new SharedKeyCredentials(accountName, accountKey), new PipelineOptions()));
1581-
ContainerURL containerURL = s.createContainerURL("myjavacontainerlistlazy");
1581+
ContainerURL containerURL = s.createContainerURL("myjavacontainerlistlazy" + System.currentTimeMillis());
15821582

15831583
containerURL.create(null, null, null).toCompletable()
15841584
.andThen(Observable.range(0, 5))
@@ -2226,7 +2226,7 @@ Create the blob with string (plain text) content.
22262226
We create a simple flowable for the purposes of demonstration, but the Flowable in question need not
22272227
produce a repeatable sequence of items. A network stream would be a common use for this api.
22282228
*/
2229-
Flowable<ByteBuffer> nonReplayableFlowable = Flowable.just(ByteBuffer.allocate(0));
2229+
Flowable<ByteBuffer> nonReplayableFlowable = Flowable.just(ByteBuffer.allocate(1));
22302230
TransferManager.uploadFromNonReplayableFlowable(nonReplayableFlowable, blobURL, 4 * 1024 * 1024, 2, null);
22312231
// </tm_nrf>
22322232

0 commit comments

Comments
 (0)