Skip to content

Commit

Permalink
Fix warnings part 1 (danfickle#30)
Browse files Browse the repository at this point in the history
* Remove unused, deprecated isSupportsSelection()

Signed-off-by: XSpielinbox <[email protected]>

* Remove broken config to disable doclint

Signed-off-by: XSpielinbox <[email protected]>

* Switch to HTTPS in license URl

Signed-off-by: XSpielinbox <[email protected]>

---------

Signed-off-by: XSpielinbox <[email protected]>
  • Loading branch information
XSpielinbox authored Apr 27, 2024
1 parent daccff5 commit 9186616
Show file tree
Hide file tree
Showing 19 changed files with 16 additions and 43 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ of the GNU Lesser General Public License as published by the Free Software
Foundation, either version 2.1 of the License, or (at your option) any later version.
A copy of the LGPL can be found
on the website of the Free Software Foundation, at
http://www.gnu.org/copyleft/lesser.html, and in our distributions under
https://www.gnu.org/copyleft/lesser.html, and in our distributions under
LICENSE-LGPL-2.1.txt or LICENSE-LGPL-3.txt.

OPEN HTML TO PDF relies on several other free or open source projects in
Expand Down
4 changes: 2 additions & 2 deletions LICENSE-LGPL-3.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -162,4 +162,4 @@ General Public License ever published by the Free Software Foundation.
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
Library.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ to get good results. Avoid floats near page breaks and use table layouts.
## LICENSE
Open HTML to PDF is distributed under the LGPL. Open HTML to PDF itself is licensed
under the GNU Lesser General Public License, version 2.1 or later, available at
http://www.gnu.org/copyleft/lesser.html. You can use Open HTML to PDF in any
https://www.gnu.org/copyleft/lesser.html. You can use Open HTML to PDF in any
way and for any purpose you want as long as you respect the terms of the
license. A copy of the LGPL license is included as license-lgpl-2.1.txt or license-lgpl-3.txt
in our distributions and in our source tree.
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/doc/guide/users-guide-r7.xil
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ h3(fs_heading). License and Dependencies

<img src="../images/screenshots/pure-xml-thumb.png" style="float: right; margin-left: 10px;" />

Flying Saucer itself is licensed under the "GNU Lesser General Public License":http://www.gnu.org/copyleft/lesser.html. You can use Flying Saucer in any way you want as long as you respect the terms of the license. A copy of the LGPL is provided under LGPL.txt in our distribution.
Flying Saucer itself is licensed under the "GNU Lesser General Public License":https://www.gnu.org/copyleft/lesser.html. You can use Flying Saucer in any way you want as long as you respect the terms of the license. A copy of the LGPL is provided under LGPL.txt in our distribution.

Flying Saucer uses a couple of FOSS packages to get the job done. A list of these, along with the license they each have, is listed in the LICENSE file in our distribution.

Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/doc/guide/users-guide-r8.xil
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ h3(fs_heading). License and Dependencies

<img src="images/screenshots/pure-xml-thumb.png" style="float: right; margin-left: 10px;" />

${fs} itself is licensed under the "GNU Lesser General Public License":http://www.gnu.org/copyleft/lesser.html. You can use ${fs} in any way you want as long as you respect the terms of the license. A copy of the LGPL is provided under LGPL.txt in our distribution.
${fs} itself is licensed under the "GNU Lesser General Public License":https://www.gnu.org/copyleft/lesser.html. You can use ${fs} in any way you want as long as you respect the terms of the license. A copy of the LGPL is provided under LGPL.txt in our distribution.

${fs} uses a couple of FOSS packages to get the job done. A list of these, along with the license they each have, is listed in the LICENSE file in our distribution.

Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/feature-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/header.xilinc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ divStart(#menu).
** "Javadoc - Basic":http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html
** "Javadoc - Full":http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html
** "References":/references.html
** "License (LGPL)":http://www.gnu.org/copyleft/lesser.html
** "License (LGPL)":https://www.gnu.org/copyleft/lesser.html
* Contribute
** "Mail: User's List":https://xhtmlrenderer.dev.java.net/servlets/ProjectMailingListList
** "Mail: Dev List":https://xhtmlrenderer.dev.java.net/servlets/ProjectMailingListList
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/references.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/screenshots.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
2 changes: 1 addition & 1 deletion obsolete-archive/www/thanks.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/user/index.html">Javadoc &#8211; Basic</a></li>
<li><a href="http://pigeonholdings.com/projects/flyingsaucer/R8/javadoc/full/index.html">Javadoc &#8211; Full</a></li>
<li><a href="/references.html">References</a></li>
<li><a href="http://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
<li><a href="https://www.gnu.org/copyleft/lesser.html" title="LGPL">License</a></li>
</ul>
</li>
<li>Contribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ default public void drawLinearGradient(FSLinearGradient backgroundLinearGradient
public Object getRenderingHint(Key key);
public void setRenderingHint(Key key, Object value);

@Deprecated
public boolean isSupportsSelection();

public boolean isSupportsCMYKColors();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ public void drawImage(FSImage image, int x, int y, boolean interpolate) {
_graphics.setRenderingHint(RenderingHints.KEY_INTERPOLATION, oldInterpolation);
}

@Deprecated
@Override
public boolean isSupportsSelection() {
return false;
}

@Override
public boolean isSupportsCMYKColors() {
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1053,11 +1053,6 @@ public void drawSelection(RenderingContext c, InlineText inlineText) {
throw new UnsupportedOperationException();
}

@Override
public boolean isSupportsSelection() {
return false;
}

@Override
public boolean isSupportsCMYKColors() {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ void drawStringFast(String s, float x, float y, JustificationInfo info,
@Override
void drawSelection(RenderingContext c, InlineText inlineText);

@Override
boolean isSupportsSelection();

@Override
boolean isSupportsCMYKColors();

Expand Down
12 changes: 1 addition & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<licenses>
<license>
<name>GNU Lesser General Public License (LGPL), version 2.1 or later</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
<url>https://www.gnu.org/licenses/lgpl.html</url>
</license>
</licenses>

Expand Down Expand Up @@ -110,15 +110,6 @@
</repository>
</distributionManagement>
</profile>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>

<profile>
<id>release</id>
Expand Down Expand Up @@ -255,7 +246,6 @@
<configuration>
<source>8</source>
<doclint>none</doclint>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 9186616

Please sign in to comment.