Skip to content

Commit

Permalink
Making ProgressReporter private. (#22331)
Browse files Browse the repository at this point in the history
  • Loading branch information
cochi2 authored Jun 16, 2021
1 parent 3c64ae8 commit d4174e3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.azure.communication.callingserver.implementation.Constants;
import com.azure.communication.callingserver.models.CallingServerErrorException;
import com.azure.communication.callingserver.models.ParallelDownloadOptions;
import com.azure.communication.callingserver.models.ProgressReporter;
import com.azure.core.http.HttpMethod;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpRange;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.callingserver.models;
package com.azure.communication.callingserver;

import com.azure.communication.callingserver.models.ParallelDownloadOptions;
import reactor.core.publisher.Flux;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.callingserver.models;
package com.azure.communication.callingserver;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
Expand All @@ -13,7 +13,7 @@
/**
* {@code ProgressReporter} offers a convenient way to add progress tracking to a given Flux.
*/
public final class ProgressReporter {
final class ProgressReporter {

private abstract static class ProgressReporterImpl implements ProgressReceiver {
long blockProgress;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package com.azure.communication.callingserver.models;

import com.azure.communication.callingserver.ProgressReceiver;
import com.azure.communication.callingserver.implementation.Constants.ContentDownloader;
import com.azure.core.annotation.Fluent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
// exporting some packages specifically for Jackson
opens com.azure.communication.callingserver.models to com.fasterxml.jackson.databind;
opens com.azure.communication.callingserver.implementation.models to com.fasterxml.jackson.databind, com.azure.core;
opens com.azure.communication.callingserver to com.fasterxml.jackson.databind;
}

0 comments on commit d4174e3

Please sign in to comment.