Skip to content

Commit

Permalink
Merge branch 'apache:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 authored Mar 25, 2024
2 parents 6dd17b2 + 9ca669a commit 76e5ad8
Show file tree
Hide file tree
Showing 121 changed files with 3,561 additions and 1,220 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ You can submit any ideas as [pull requests](https://github.com/apache/incubator-

We welcome your suggestions, comments (including criticisms), comments and contributions. See [How to Contribute](https://streampark.apache.org/community/submit_guide/submit_code) and [Code Submission Guide](https://streampark.apache.org/community/submit_guide/code_style_and_quality_guide)

### 📤 Subscribe Mailing Lists
Mail List is the most recognized form of communication in Apache community. See how to [Join the Mailing Lists](https://streampark.apache.org/community/contribution_guide/mailing_lists)

Thank you to all the people who already contributed to StreamPark!

[![contrib graph](https://contrib.rocks/image?repo=apache/streampark)](https://github.com/apache/incubator-streampark/graphs/contributors)
Expand Down
7 changes: 0 additions & 7 deletions SECURITY.md

This file was deleted.

1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
<lombok.version>1.18.24</lombok.version>
<jupiter.version>5.9.1</jupiter.version>
<mockito.version>3.4.6</mockito.version>
<mockito-scala.version>1.17.14</mockito-scala.version>
<assertj.version>3.23.1</assertj.version>

<PermGen>64m</PermGen>
Expand Down
14 changes: 14 additions & 0 deletions streampark-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@
<dependencies>

<!-- test -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-scala_${scala.binary.version}</artifactId>
<version>${mockito-scala.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_${scala.binary.version}</artifactId>
<version>${scalatest.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ object InternalConfigHolder extends Logger {
private val confOptions = new ConcurrentHashMap[String, InternalOption](initialCapacity)

/** Initialize the ConfigHub. */
{
Seq(CommonConfig, K8sFlinkConfig)
}
Seq(CommonConfig, K8sFlinkConfig)

/** Register the ConfigOption */
private[conf] def register(@Nonnull conf: InternalOption): Unit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package org.apache.streampark.common.fs

import org.apache.streampark.common.util.Logger
import org.apache.streampark.common.util.Utils.{isAnyBank, requireNotEmpty}
import org.apache.streampark.common.util.Utils.{isAnyBank, isNotEmpty}

import org.apache.commons.codec.digest.DigestUtils
import org.apache.commons.io.{FileUtils, IOUtils}
Expand All @@ -41,7 +41,7 @@ object LfsOperator extends FsOperator with Logger {
}

override def delete(path: String): Unit = {
if (requireNotEmpty(path)) {
if (isNotEmpty(path)) {
val file = new File(path)
if (file.exists()) {
FileUtils.forceDelete(file)
Expand Down
Loading

0 comments on commit 76e5ad8

Please sign in to comment.