Merge pull request #1128 from soloturn/java18

javadoc build warnings removed
This commit is contained in:
PlantUML 2022-09-25 18:07:15 +02:00 committed by GitHub
commit ea0c9f98a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 16 deletions

View File

@ -26,10 +26,10 @@ java {
dependencies { dependencies {
compileOnly("org.apache.ant:ant:1.10.12") compileOnly("org.apache.ant:ant:1.10.12")
testImplementation("org.assertj:assertj-core:3.23.1") testImplementation("org.assertj:assertj-core:3.23.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0") testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
testImplementation("org.scilab.forge:jlatexmath:1.0.7") testImplementation("org.scilab.forge:jlatexmath:1.0.7")
"pdfRuntimeOnly"("org.apache.xmlgraphics:fop:2.7") "pdfRuntimeOnly"("org.apache.xmlgraphics:fop:2.7")
"pdfRuntimeOnly"("org.apache.xmlgraphics:batik-all:1.14") "pdfRuntimeOnly"("org.apache.xmlgraphics:batik-all:1.15")
} }
repositories { repositories {

View File

@ -16,8 +16,6 @@
package ext.plantuml.com.google.zxing; package ext.plantuml.com.google.zxing;
import java.io.Reader;
/** /**
* Encapsulates a type of hint that a caller may pass to a barcode reader to help it * Encapsulates a type of hint that a caller may pass to a barcode reader to help it
* more quickly or accurately decode it. It is up to implementations to decide what, * more quickly or accurately decode it. It is up to implementations to decide what,
@ -25,7 +23,7 @@ import java.io.Reader;
* *
* @author Sean Owen * @author Sean Owen
* @author dswitkin@google.com (Daniel Switkin) * @author dswitkin@google.com (Daniel Switkin)
* @see Reader#decode(BinaryBitmap,java.util.Hashtable) * see Reader#decode(BinaryBitmap,java.util.Hashtable)
*/ */
public final class DecodeHintType { public final class DecodeHintType {
@ -71,7 +69,7 @@ public final class DecodeHintType {
/** /**
* The caller needs to be notified via callback when a possible {@link ResultPoint} * The caller needs to be notified via callback when a possible {@link ResultPoint}
* is found. Maps to a {@link ResultPointCallback}. * is found. Maps to a ResultPointCallback.
*/ */
public static final DecodeHintType NEED_RESULT_POINT_CALLBACK = new DecodeHintType(); public static final DecodeHintType NEED_RESULT_POINT_CALLBACK = new DecodeHintType();

View File

@ -18,7 +18,7 @@ package ext.plantuml.com.google.zxing.qrcode.encoder;
/** /**
* A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a * A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a
* unsigned container, it's up to you to do byteValue & 0xff at each location. * unsigned container, it's up to you to do byteValue {@literal &} 0xff at each location.
* *
* JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned * JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned
* -1, 0, and 1, I'm going to use less memory and go with bytes. * -1, 0, and 1, I'm going to use less memory and go with bytes.

View File

@ -35,16 +35,16 @@ import jcckit.util.Factory;
/** /**
* Class which handles plotting into a <tt>Graphics</tt> context based on the * Class which handles plotting into a <tt>Graphics</tt> context based on the
* {@link jcckit.renderer.GraphicsRenderer}. This class is not a subclass of * {link jcckit.renderer.GraphicsRenderer}. This class is not a subclass of
* <tt>java.awt.Component</tt>. The actual AWT component presenting the plot * <tt>java.awt.Component</tt>. The actual AWT component presenting the plot
* is an innerclass. Its instance wrapped by <tt>GraphicsPlotCanvas</tt> can * is an innerclass. Its instance wrapped by <tt>GraphicsPlotCanvas</tt> can
* be obtained with {@link #getGraphicsCanvas}. * be obtained with {link #getGraphicsCanvas}.
* <p> * <p>
* The plot is painted by using double-buffering and pre-rendered view of the * The plot is painted by using double-buffering and pre-rendered view of the
* coordinate system. That is, the coordinate system is drawn into an off-screen * coordinate system. That is, the coordinate system is drawn into an off-screen
* image. It will be redrawn only if the size of the embedding AWT component is * image. It will be redrawn only if the size of the embedding AWT component is
* changed. * changed.
* *
* @author Franz-Josef Elmer * @author Franz-Josef Elmer
*/ */
public class GraphicsPlotCanvas extends PlotCanvas { public class GraphicsPlotCanvas extends PlotCanvas {
@ -57,7 +57,7 @@ public class GraphicsPlotCanvas extends PlotCanvas {
* Class which does the actual painting. Needs the <tt>Component</tt> into * Class which does the actual painting. Needs the <tt>Component</tt> into
* which the plot is painted for some resources like size, background color, * which the plot is painted for some resources like size, background color,
* etc. * etc.
* *
* @author Franz-Josef Elmer * @author Franz-Josef Elmer
*/ */
private final BufferedImage img3; private final BufferedImage img3;
@ -95,7 +95,7 @@ public class GraphicsPlotCanvas extends PlotCanvas {
* <tr> * <tr>
* <td><tt>doubleBuffering = true</tt></td> * <td><tt>doubleBuffering = true</tt></td>
* <td><tt>boolean</tt></td><td>no</td> * <td><tt>boolean</tt></td><td>no</td>
* <td>If <tt>true</tt> the plot will be painted by using * <td>If <tt>true</tt> the plot will be painted by using
* double-buffering and pre-rendered view of the coordinate system. * double-buffering and pre-rendered view of the coordinate system.
* </td></tr> * </td></tr>
* </table> * </table>
@ -120,7 +120,7 @@ public class GraphicsPlotCanvas extends PlotCanvas {
private final Color foreground; private final Color foreground;
/** /**
* Paints the plot. If {@link GraphicsPlotCanvas#_doubleBuffering} is set * Paints the plot. If {link GraphicsPlotCanvas#_doubleBuffering} is set
* double-buffering and pre-rendered view of the coordinate system is used. * double-buffering and pre-rendered view of the coordinate system is used.
*/ */
public void paint() { public void paint() {
@ -192,8 +192,8 @@ public class GraphicsPlotCanvas extends PlotCanvas {
/** /**
* Sets the renderer used to render the plot. The default value is * Sets the renderer used to render the plot. The default value is
* {@link GraphicsRenderer}. * {link GraphicsRenderer}.
* *
* @param className * @param className
* Fully qualified name of the renderer class. * Fully qualified name of the renderer class.
*/ */
@ -217,7 +217,7 @@ public class GraphicsPlotCanvas extends PlotCanvas {
/** /**
* Defines a graphical marker which will be drawn on top of the plot. To * Defines a graphical marker which will be drawn on top of the plot. To
* remove the marker call this method with argument <tt>null</tt>. * remove the marker call this method with argument <tt>null</tt>.
* *
* @param marker * @param marker
* Marker element. Can be <tt>null</tt>. * Marker element. Can be <tt>null</tt>.
*/ */