Skip to content

Commit 5bcc4f5

Browse files
committed
Allow ProgressBarBuilder.setETAFunction to be used externally
ProgressState was package-private and setETAFunction's BiFunction includes ProgressState, preventing setETAFunction from being used outside of the package.
1 parent 493daa1 commit 5bcc4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/tongfei/progressbar/ProgressState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Tongfei Chen
99
* @since 0.5.0
1010
*/
11-
class ProgressState {
11+
public class ProgressState {
1212

1313
String taskName;
1414
String extraMessage = "";

0 commit comments

Comments
 (0)