Skip to content

Commit c251efc

Browse files
committed
[FLINK-4570] disable Scalastyle for flink-mesos Utils file
The version change didn't cause the Scalastyle errors. Seems like the only viable solution to prevent random failures of the Scalastyle plugin is to disable Scalastyle checks for the affected source file.
1 parent dc3337a commit c251efc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

flink-mesos/src/test/scala/org/apache/flink/mesos/Utils.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19+
// disable Scalastyle for now to prevent random failures reported in FLINK-4570
20+
// scalastyle:off
1921
package org.apache.flink.mesos
2022

2123
import java.util.concurrent.atomic.AtomicLong
@@ -52,3 +54,4 @@ object TestFSMUtils {
5254
new TestFSMRef(system, Props(factory), supervisor, TestFSMUtils.randomName)
5355
}
5456
}
57+
// scalastyle:on

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ under the License.
11571157
<plugin>
11581158
<groupId>org.scalastyle</groupId>
11591159
<artifactId>scalastyle-maven-plugin</artifactId>
1160-
<version>0.5.0</version>
1160+
<version>0.8.0</version>
11611161
<executions>
11621162
<execution>
11631163
<goals>

0 commit comments

Comments
 (0)