vsch / flexmark-java

CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
BSD 2-Clause "Simplified" License
2.29k stars 271 forks source link

Source headers state code is private property #443

Open hyandell opened 3 years ago

hyandell commented 3 years ago

There are 7 files which contain

Is this intended? It would seem to clash with the LICENSE file indicating the project is BSD-2-Clause.

This search finds all seven: https://github.com/vsch/flexmark-java/search?q=This+code+is+private+property+of+the+copyright+holder

vsch commented 3 years ago

It’s an error in the headers. I copied the files from my plugin and forgot to change the headers.

The library is BSD-2-Clause. Please ignore these headers and I will update them in the next release.

eclipseo commented 1 year ago

There are several files which are Apache-2.0:

# Apache-2.0:
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/BackgroundColor.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/Color.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/ColorStyler.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyle.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyleStyler.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyler.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlBuilder.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlHelpers.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlHelpersTest.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlStyler.java
# - flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlStylerBase.java
rahulmohang commented 1 year ago

Hi @eclipseo,

Looks like the master branch has https://github.com/vsch/flexmark-java/blob/master/flexmark-ext-typographic/src/test/java/com/vladsch/flexmark/ext/typographic/ComboTypographicSpecTest.java https://github.com/vsch/flexmark-java/blob/master/flexmark-ext-jekyll-front-matter/src/test/java/com/vladsch/flexmark/ext/jekyll/front/matter/ComboJekyllFrontMatterSpecTest.java

with the old header. Can you please check?