Program: 80535
Project: 80535
Buggy source:
private StorageRequest<CloudFileClient,CloudFileShare,Void> createImpl(final FileRequestOptions options){
  final StorageRequest<CloudFileClient,CloudFileShare,Void> putRequest=new StorageRequest<CloudFileClient,CloudFileShare,Void>(options,this.getStorageUri()){
    @Override public HttpURLConnection buildRequest(    CloudFileClient client,    CloudFileShare share,    OperationContext context) throws Exception {
      final HttpURLConnection request=FileRequest.createShare(share.getTransformedAddress().getUri(this.getCurrentLocation()),options,context,share.getProperties());
      return request;
    }
    @Override public void setHeaders(    HttpURLConnection connection,    CloudFileShare share,    OperationContext context){
      FileRequest.addMetadata(connection,share.metadata,context);
    }
    @Override public void signRequest(    HttpURLConnection connection,    CloudFileClient client,    OperationContext context) throws Exception {
      StorageRequest.signBlobQueueAndFileRequest(connection,client,0L,context);
    }
    @Override public Void preProcessResponse(    CloudFileShare share,    CloudFileClient client,    OperationContext context) throws Exception {
      if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_CREATED) {
        this.setNonExceptionedRetryableFailure(true);
        return null;
      }
      final FileShareAttributes attributes=FileResponse.getFileShareAttributes(this.getConnection(),client.isUsePathStyleUris());
      share.properties=attributes.getProperties();
      share.name=attributes.getName();
      return null;
    }
  }
;
  return putRequest;
}

Fixed version (ground truth):
private StorageRequest<CloudFileClient,CloudFileShare,Void> createImpl(final FileRequestOptions options){
  final StorageRequest<CloudFileClient,CloudFileShare,Void> putRequest=new StorageRequest<CloudFileClient,CloudFileShare,Void>(options,this.getStorageUri()){
    @Override public HttpURLConnection buildRequest(    CloudFileClient client,    CloudFileShare share,    OperationContext context) throws Exception {
      final HttpURLConnection request=FileRequest.createShare(share.getTransformedAddress().getUri(this.getCurrentLocation()),options,context,share.getProperties());
      return request;
    }
    @Override public void setHeaders(    HttpURLConnection connection,    CloudFileShare share,    OperationContext context){
      FileRequest.addMetadata(connection,share.metadata,context);
    }
    @Override public void signRequest(    HttpURLConnection connection,    CloudFileClient client,    OperationContext context) throws Exception {
      StorageRequest.signBlobQueueAndFileRequest(connection,client,0L,context);
    }
    @Override public Void preProcessResponse(    CloudFileShare share,    CloudFileClient client,    OperationContext context) throws Exception {
      if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_CREATED) {
        this.setNonExceptionedRetryableFailure(true);
        return null;
      }
      final FileShareAttributes attributes=FileResponse.getFileShareAttributes(this.getConnection(),client.isUsePathStyleUris());
      Integer oldShareQuota=share.properties.getShareQuota();
      share.properties=attributes.getProperties();
      share.properties.setShareQuota(oldShareQuota);
      return null;
    }
  }
;
  return putRequest;
}