Skip to content

Commit

Permalink
Remove all copyrights (will add final one in next change)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud Paquay committed Nov 30, 2011
1 parent eaeb9d0 commit 8a865c8
Show file tree
Hide file tree
Showing 108 changed files with 19 additions and 256 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

/**
* RESERVED FOR INTERNAL USE. A class used to parse SharedAccessPolicies from an input stream.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class AccessPolicyResponse {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

/**
* RESERVED FOR INTERNAL USE. Represents a blob's attributes.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class BlobAttributes {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

/**
* RESERVED FOR INTERNAL USE. Represents a container's attributes, including its properties and metadata.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class BlobContainerAttributes {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* </ul>
* For more information on managing container permissions, see <a
* href='http://go.microsoft.com/fwlink/?LinkID=224643&clcid=0x409'>Managing Access to Containers and Blobs</a>.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobContainerPermissions {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Represents the system properties for a container.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobContainerProperties {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
/**
* Specifies the level of public access that is allowed on the container.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*
*/
public enum BlobContainerPublicAccessType {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

/**
* Provides an input stream to read a given blob resource.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobInputStream extends InputStream {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* RESERVED FOR INTERNAL USE. Provides the listing context for blobs including the delimiter and listingdetails
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class BlobListingContext extends ListingContext {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* By default, committed blocks are always returned. Use the values in this enum to include snapshots, metadata, and/or
* uncommitted blocks.
* <p>
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum BlobListingDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@

/**
* The class is an append-only stream for writing into storage.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobOutputStream extends OutputStream {
/**
Expand Down Expand Up @@ -347,6 +345,7 @@ private synchronized void dispatchWrite(final int writeLength) throws IOExceptio
this.blockList.add(new BlockEntry(blockID, BlockSearchMode.UNCOMMITTED));

worker = new Callable<Void>() {
@Override
public Void call() {
try {
blobRef.uploadBlock(blockID, bufferRef, writeLength, BlobOutputStream.this.accessCondition,
Expand Down Expand Up @@ -416,6 +415,7 @@ else if (this.streamType == BlobType.PAGE_BLOB) {
this.currentPageOffset += writeLength;

worker = new Callable<Void>() {
@Override
public Void call() {
try {
blobRef.uploadPages(bufferRef, opOffset, opWriteLength, BlobOutputStream.this.accessCondition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Represents the system properties for a blob.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobProperties {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

/**
* RESERVED FOR INTERNAL USE. Provides a set of methods for constructing requests for blob operations.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class BlobRequest {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Represents a set of options that may be specified on a request.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlobRequestOptions extends RequestOptions {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

/**
* RESERVED FOR INTERNAL USE. A class for parsing various responses from the blob service
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class BlobResponse extends BaseResponse {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* Specifies the type of a blob.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum BlobType {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* A class which is used to list and commit blocks of a {@link CloudBlockBlob}.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class BlockEntry {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* Specifies whether to list only committed blocks, only uncommitted blocks, or all blocks.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum BlockListingFilter {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* Specifies which block lists should be searched to find a specified block.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum BlockSearchMode {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
*
* Represents a Windows Azure blob. This is the base class for the {@link CloudBlockBlob} and {@link CloudPageBlob}
* classes.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public abstract class CloudBlob implements ListBlobItem {
/**
Expand Down Expand Up @@ -1446,6 +1444,7 @@ String getCanonicalName(final boolean ignoreSnapshotTime) {
* @throws URISyntaxException
* If the resource URI is invalid.
*/
@Override
public final CloudBlobContainer getContainer() throws StorageException, URISyntaxException {
if (this.container == null) {
final URI containerURI = PathUtility.getContainerURI(this.getUri(),
Expand Down Expand Up @@ -1490,6 +1489,7 @@ public final String getName() throws URISyntaxException {
* @throws URISyntaxException
* If the resource URI is invalid.
*/
@Override
public final CloudBlobDirectory getParent() throws URISyntaxException, StorageException {
if (this.parent == null) {
final URI parentURI = PathUtility.getParentAddress(this.getUri(),
Expand Down Expand Up @@ -1587,6 +1587,7 @@ protected final URI getTransformedAddress(final OperationContext opContext) thro
*
* @return A <code>java.net.URI</code> object that represents the URI for the blob.
*/
@Override
public final URI getUri() {
return this.uri;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
* This class provides a point of access to the Blob service. The service client encapsulates the base URI for the Blob
* service. If the service client will be used for authenticated access, it also encapsulates the credentials for
* accessing the storage account.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class CloudBlobClient extends ServiceClient {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
* <p>
* Containers hold directories, which are encapsulated as {@link CloudBlobDirectory} objects, and directories hold block
* blobs and page blobs. Directories can also contain sub-directories.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class CloudBlobContainer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* <p>
* Containers, which are encapsulated as {@link CloudBlobContainer} objects, hold directories, and directories hold
* block blobs and page blobs. Directories can also contain sub-directories.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class CloudBlobDirectory implements ListBlobItem {

Expand Down Expand Up @@ -152,6 +150,7 @@ public CloudBlockBlob getBlockBlobReference(final String blobAddressUri, final S
* @throws URISyntaxException
* If the resource URI is invalid.
*/
@Override
public CloudBlobContainer getContainer() throws StorageException, URISyntaxException {
if (this.container == null) {
final URI containerURI = PathUtility.getContainerURI(this.uri, this.blobServiceClient.isUsePathStyleUris());
Expand Down Expand Up @@ -217,6 +216,7 @@ public CloudPageBlob getPageBlobReference(final String blobAddressUri, final Str
* @throws URISyntaxException
* If the resource URI is invalid.
*/
@Override
public CloudBlobDirectory getParent() throws URISyntaxException, StorageException {
if (this.parent == null) {
final URI parentURI = PathUtility.getParentAddress(this.uri,
Expand Down Expand Up @@ -287,6 +287,7 @@ public CloudBlobDirectory getSubDirectoryReference(final String relativeAddress)
*
* @return A <code>java.net.URI</code> object that represents the URI for this directory.
*/
@Override
public URI getUri() {
return this.uri;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
/**
* Represents a blob that is uploaded as a set of blocks.
*
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class CloudBlockBlob extends CloudBlob {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
/**
* Represents a Windows Azure page blob.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class CloudPageBlob extends CloudBlob {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* Specifies which details to include when listing the containers in this storage account.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum ContainerListingDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
/**
* RESERVED FOR INTERNAL USE. A class used to generate requests for contianer objects.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class ContainerRequest {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

/**
* RESERVED FOR INTERNAL USE. A class used to parse the response from container operations
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class ContainerResponse extends BaseResponse {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

/**
* Specifies options when calling delete operations.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum DeleteSnapshotsOption {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

/**
* RESERVED FOR INTERNAL USE. A class used to parse a get block list response stream.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class GetBlockListResponse {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

/**
* RESERVED FOR INTERNAL USE. A class used to parse a get page ranges response stream.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class GetPageRangesResponse {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Represents an item that may be returned by a blob listing operation.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public interface ListBlobItem {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

/**
* RESERVED FOR INTERNAL USE. A class used to parse a list blobs response stream.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class ListBlobsResponse {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

/**
* RESERVED FOR INTERNAL USE. A class for parsing a list containers response stream.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class ListContainersResponse {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* RESERVED FOR INTERNAL USE. Describes actions that may be used for writing to a page blob or clearing a set of pages.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
enum PageOperationType {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* RESERVED FOR INTERNAL USE. Represents properties for writing to a page blob.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
final class PageProperties {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

/**
* Represents a range of pages in a page blob.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public final class PageRange {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

/**
* Specifies the set of possible permissions for a shared access policy.
*
* Copyright (c)2011 Microsoft. All rights reserved.
*/
public enum SharedAccessPermissions {
/**
Expand Down
Loading

0 comments on commit 8a865c8

Please sign in to comment.