You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2022/04/20 10:22:00 UTC

[jira] [Created] (FLINK-27322) Add license headers and spotless checks for them

Nico Kruber created FLINK-27322:
-----------------------------------

             Summary: Add license headers and spotless checks for them
                 Key: FLINK-27322
                 URL: https://issues.apache.org/jira/browse/FLINK-27322
             Project: Flink
          Issue Type: Bug
          Components: Documentation / Training / Exercises
    Affects Versions: 1.14.4
            Reporter: Nico Kruber
            Assignee: Nico Kruber


It looks as if there are a couple of files that are missing their appropriate license headers, e.g. https://github.com/apache/flink-training/blob/0b1c83b16065484200564402bef2ca10ef19cb30/common/src/main/java/org/apache/flink/training/exercises/common/datatypes/RideAndFare.java

We should fix that by:
# adding the missing license headers
# adding spotless checks to ensure this doesn't happen again

Potential downside: if a user doing the training exercises creates files on their own, these would need the license header as well. On the other hand, a simple `./gradlew spotlessApply` can fix that easily



--
This message was sent by Atlassian Jira
(v8.20.7#820007)