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

Commit 1ce11af

Browse files
author
jofriedm-msft
authored
Merge pull request #89 from jofriedm-msft/dev
Dev
2 parents c7783e5 + a88a09a commit 1ce11af

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3030
<dependency>
3131
<groupId>com.microsoft.azure</groupId>
3232
<artifactId>azure-storage</artifactId>
33-
<version>5.5.0</version>
33+
<version>6.0.0</version>
3434
</dependency>
3535
```
3636

microsoft-azure-storage-samples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>5.5.0</version>
29+
<version>6.0.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-samples/src/com/microsoft/azure/storage/logging/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>5.5.0</version>
29+
<version>6.0.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-test/src/com/microsoft/azure/storage/file/CloudFileDirectoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void cloudFileDirectorySetUp() throws URISyntaxException, StorageExceptio
6060

6161
@After
6262
public void cloudFileDirectoryTearDown() throws StorageException {
63-
this.share.deleteIfExists();
63+
this.share.deleteIfExists(DeleteShareSnapshotsOption.INCLUDE_SNAPSHOTS, null, null, null);
6464
}
6565

6666
/**

microsoft-azure-storage-test/src/com/microsoft/azure/storage/file/CloudFileShareTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void fileShareTestMethodSetUp() throws StorageException, URISyntaxExcepti
6262

6363
@After
6464
public void fileShareTestMethodTearDown() throws StorageException {
65-
this.share.deleteIfExists();
65+
this.share.deleteIfExists(DeleteShareSnapshotsOption.INCLUDE_SNAPSHOTS, null, null, null);
6666
}
6767

6868
/**

microsoft-azure-storage-test/src/com/microsoft/azure/storage/file/CloudFileTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void fileTestMethodSetUp() throws URISyntaxException, StorageException {
8686

8787
@After
8888
public void fileTestMethodTearDown() throws StorageException {
89-
this.share.deleteIfExists();
89+
this.share.deleteIfExists(DeleteShareSnapshotsOption.INCLUDE_SNAPSHOTS, null, null, null);
9090
}
9191

9292
/**

microsoft-azure-storage/src/com/microsoft/azure/storage/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ public static class HeaderConstants {
661661
/**
662662
* Specifies the value to use for UserAgent header.
663663
*/
664-
public static final String USER_AGENT_VERSION = "5.5.0";
664+
public static final String USER_AGENT_VERSION = "6.0.0";
665665

666666
/**
667667
* The default type for content-type and accept

microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,11 @@ public Boolean preProcessResponse(CloudFileDirectory directory, CloudFileClient
532532
OperationContext context) throws Exception {
533533
if (this.getResult().getStatusCode() == HttpURLConnection.HTTP_OK) {
534534
directory.updatePropertiesFromResponse(this.getConnection());
535-
// // Set properties
536-
// final FileDirectoryAttributes attributes =
537-
// FileResponse.getFileDirectoryAttributes(this.getConnection(), client.isUsePathStyleUris());
538-
// directory.setMetadata(attributes.getMetadata());
539-
// directory.setProperties(attributes.getProperties());
535+
// Set properties
536+
final FileDirectoryAttributes attributes =
537+
FileResponse.getFileDirectoryAttributes(this.getConnection(), client.isUsePathStyleUris());
538+
directory.setMetadata(attributes.getMetadata());
539+
directory.setProperties(attributes.getProperties());
540540

541541
return Boolean.valueOf(true);
542542
}

microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,10 +1020,10 @@ public Boolean preProcessResponse(CloudFileShare share, CloudFileClient client,
10201020
throws Exception {
10211021
if (this.getResult().getStatusCode() == HttpURLConnection.HTTP_OK) {
10221022
share.updatePropertiesFromResponse(this.getConnection());
1023-
// final FileShareAttributes attributes = FileResponse.getFileShareAttributes(this.getConnection(),
1024-
// client.isUsePathStyleUris());
1025-
// share.metadata = attributes.getMetadata();
1026-
// share.properties = attributes.getProperties();
1023+
final FileShareAttributes attributes = FileResponse.getFileShareAttributes(this.getConnection(),
1024+
client.isUsePathStyleUris());
1025+
share.metadata = attributes.getMetadata();
1026+
share.properties = attributes.getProperties();
10271027

10281028
return Boolean.valueOf(true);
10291029
}

0 commit comments

Comments
 (0)