Skip to content

Commit df11fc5

Browse files
authored
refactor!: Move CompressUtil to internal package (#22984)
1 parent 00a7bd2 commit df11fc5

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

flow-server/src/main/java/com/vaadin/flow/server/frontend/CompressUtil.java renamed to flow-server/src/main/java/com/vaadin/flow/internal/CompressUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* License for the specific language governing permissions and limitations under
1414
* the License.
1515
*/
16-
package com.vaadin.flow.server.frontend;
16+
package com.vaadin.flow.internal;
1717

1818
import java.io.File;
1919
import java.io.FileInputStream;
@@ -26,10 +26,10 @@
2626
import java.util.zip.ZipInputStream;
2727
import java.util.zip.ZipOutputStream;
2828

29-
import com.vaadin.flow.internal.StringUtil;
30-
3129
/**
3230
* Utility class for compression and decompression of folders and files.
31+
* <p>
32+
* For internal use only. May be renamed or removed in a future release.
3333
*
3434
* @author Vaadin Ltd
3535
* @since 24.3

flow-server/src/main/java/com/vaadin/flow/server/frontend/CompressionException.java renamed to flow-server/src/main/java/com/vaadin/flow/internal/CompressionException.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
* License for the specific language governing permissions and limitations under
1414
* the License.
1515
*/
16-
package com.vaadin.flow.server.frontend;
16+
package com.vaadin.flow.internal;
1717

1818
/**
1919
* Exception for when there is a problem with compressing files.
20+
* <p>
21+
* For internal use only. May be renamed or removed in a future release.
2022
*
2123
* @author Vaadin Ltd
2224
* @since 24.3

flow-server/src/main/java/com/vaadin/flow/server/frontend/DevBundleUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.slf4j.Logger;
2323
import org.slf4j.LoggerFactory;
2424

25+
import com.vaadin.flow.internal.CompressUtil;
2526
import com.vaadin.flow.internal.FileIOUtils;
2627
import com.vaadin.flow.server.Constants;
2728

flow-server/src/main/java/com/vaadin/flow/server/frontend/ProdBundleUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.slf4j.Logger;
2323
import org.slf4j.LoggerFactory;
2424

25+
import com.vaadin.flow.internal.CompressUtil;
2526
import com.vaadin.flow.internal.FileIOUtils;
2627
import com.vaadin.flow.server.Constants;
2728
import com.vaadin.flow.server.frontend.scanner.ClassFinder;

0 commit comments

Comments
 (0)