Skip to content

Commit

Permalink
LDEV-4999 add core to javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 7, 2024
1 parent 2f4d9e4 commit 5da59d5
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ant/build-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
target="11"
destdir="${core}"
includeantruntime="false"
debug="true"
debug="true"
debuglevel="lines,vars,source">
<classpath refid="classpath" />
<classpath path="${temp}/loader"/>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/aprint.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import lucee.runtime.type.QueryImpl;

/**
*
* debug print class
*/
public class aprint {
public static void edate(String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public class Array_ extends BIF {
* @param pc
* @param objArr
* @return
* @throws ExpressionException
*/
public static Array call(PageContext pc, Object[] objArr) {
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public void addMonitor(ConfigServer cs, ActionMonitor monitor, String name, bool
*
* @param pc
* @param ar
* @throws IOException
*/
@Override
public void log(PageContext pc, String type, String label, long executionTime, Object data) {
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/tag/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ public void setS3(Struct s3) {
}

/**
* @param s3 the s3 to set
* @param ftp the ftp to set
*/
public void setFtp(Struct ftp) {
this.ftp = ftp;
Expand Down Expand Up @@ -681,7 +681,7 @@ public void setLoginstorage(String loginstorage) throws ApplicationException {
}

/**
* @param scriptrotect the scriptrotect to set
* @param strScriptrotect the scriptrotect to set
*/
public void setScriptprotect(String strScriptrotect) {
this.scriptrotect = strScriptrotect;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/type/KeyImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public static Collection.Key initKeys(String key) {
/**
* for dynamic loading of key objects
*
* @param string
* @param key
* @return
*/
public static Collection.Key init(String key) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ArrayListIteratorImpl implements ListIterator {
/**
* Constructor of the class
*
* @param arr
* @param array
* @param index
*/
public ArrayListIteratorImpl(Array array, int index) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final Type writeOutAsType(Context c, int mode) throws TransformerExceptio
* @param adapter
* @param mode
* @return return Type of expression
* @throws TemplateException
* @throws TransformerException
*/
public abstract Type _writeOut(BytecodeContext bc, int mode) throws TransformerException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ public final class Argument {
* @param required
* @param defaultValue
* @param displayName
* @param passByReference
* @param displayName
* @param hint
* @param hint2
* @param meta
*/
public Argument(Expression name, Expression type, Expression required, Expression defaultValue, ExprBoolean passByReference, Expression displayName, Expression hint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void setParent(Statement parent) {
* write out the statement to adapter
*
* @param adapter
* @throws TemplateException
* @throws TransformerException
*/
@Override
public final void writeOut(Context c) throws TransformerException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public interface FunctionEvaluator {
*
* @param bif
* @param flf the definition of the function from the fld file
* @throws TemplateException
* @throws EvaluatorException
*/
public void evaluate(BIF bif, FunctionLibFunction flf) throws EvaluatorException;

Expand Down
8 changes: 6 additions & 2 deletions loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<version>3.7.0</version>
<configuration>
<sourcepath>src/main/java;../core/src/main/java</sourcepath>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -158,9 +161,10 @@
</goals>

<configuration>
<source>8</source>
<source>11</source>
<detectJavaApiLink>false</detectJavaApiLink>
<quiet>true</quiet>
<additionalparam>-Xdoclint:none</additionalparam>
<!-- add this to disable checking
<additionalparam>-Xdoclint:none</additionalparam>
-->
Expand Down

0 comments on commit 5da59d5

Please sign in to comment.