Skip to content

Commit

Permalink
Merge pull request Azure#435 from rickle-msft/dev
Browse files Browse the repository at this point in the history
10.5.0 release prep
  • Loading branch information
rickle-msft authored Feb 15, 2019
2 parents e6cc684 + d4a55dc commit e463b46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>10.4.0</version>
<version>10.5.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>10.4.0</version>
<version>10.5.0</version>

<name>Azure Storage Blob</name>
<description>The Azure Storage Java Blob library.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static final class HeaderConstants {
/**
* Specifies the value to use for UserAgent header.
*/
static final String USER_AGENT_VERSION = "10.4.0";
static final String USER_AGENT_VERSION = "10.5.0";

private HeaderConstants() {
// Private to prevent construction.
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/com/microsoft/azure/storage/Samples.java
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ public void exampleFileTransfer() throws IOException, InvalidKeyException {
We create a simple flowable for the purposes of demonstration, but the Flowable in question need not
produce a repeatable sequence of items. A network stream would be a common use for this api.
*/
Flowable<ByteBuffer> data = Flowable.just(ByteBuffer.allocate(0));
Flowable<ByteBuffer> data = Flowable.just(ByteBuffer.allocate(1));
return TransferManager.uploadFromNonReplayableFlowable(data, blobURL, 4 * 1024 * 1024, 2, null);
})
.flatMap(response ->
Expand Down Expand Up @@ -1578,7 +1578,7 @@ public void exampleLazyEnumeration() throws MalformedURLException, InvalidKeyExc
URL u = new URL(String.format(Locale.ROOT, "https://%s.blob.core.windows.net/", accountName));
ServiceURL s = new ServiceURL(u,
StorageURL.createPipeline(new SharedKeyCredentials(accountName, accountKey), new PipelineOptions()));
ContainerURL containerURL = s.createContainerURL("myjavacontainerlistlazy");
ContainerURL containerURL = s.createContainerURL("myjavacontainerlistlazy" + System.currentTimeMillis());

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

Expand Down

0 comments on commit e463b46

Please sign in to comment.