Skip to content

Commit

Permalink
Re-enable the maven-javadoc-plugin and fix some errors
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit b7838f0)
  • Loading branch information
martin-g committed Apr 4, 2024
1 parent 2854149 commit d4ffa6f
Show file tree
Hide file tree
Showing 64 changed files with 21 additions and 182 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
* settings.useCdnResources(true);
* Bootstrap.install(yourWicketApplication, settings);
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public final class Bootstrap {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
* // or (please use settings.setJsResourceFilterName("my-filter-name") instead)
* app.setHeaderResponseDecorator(new RenderJavaScriptToFooterHeaderResponseDecorator("my-filter-name"));
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class RenderJavaScriptToFooterHeaderResponseDecorator implements IHeaderResponseDecorator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ```
*
* ```html
* <div wicket:id="id">Content</div>
* &lt;div wicket:id="id"&gt;Content&lt;/div&gt;
* ```
*
* It is also possible to use a model that contains the {@link de.agilecoders.wicket.core.markup.html.bootstrap.behavior.AlignmentBehavior.Alignment}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* The {@code BootstrapBaseBehavior} renders the current active
* {@link ITheme} which includes the {@link de.agilecoders.wicket.core.markup.html.themes.bootstrap.BootstrapCssReference}
* if enabled to the response.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class BootstrapBaseBehavior extends Behavior {
private static final long serialVersionUID = 1L;
Expand Down Expand Up @@ -70,9 +68,6 @@ protected final IBootstrapSettings getBootstrapSettings(final Component componen
return settings;
}

/**
* {@inheritDoc}
*/
@Override
public void renderHead(final Component component, final IHeaderResponse headerResponse) {
IBootstrapSettings settings = getBootstrapSettings(component);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
* The {@code BootstrapJavascriptBehavior} renders the
* {@link de.agilecoders.wicket.core.markup.html.references.BootstrapJavaScriptReference} to
* the response.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class BootstrapJavascriptBehavior extends BootstrapBaseBehavior {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* ```java
* component.add(BootstrapResourceBehavior.instance());
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class BootstrapResourcesBehavior extends BootstrapJavascriptBehavior {
private static final long serialVersionUID = 1L;
Expand All @@ -35,9 +33,6 @@ public static BootstrapResourcesBehavior instance() {
return Holder.INSTANCE;
}

/**
* {@inheritDoc}
*/
@Override
public void renderHead(final IBootstrapSettings settings, final IHeaderResponse headerResponse) {
super.renderHead(settings, headerResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
* ```html
* <span class="className className2 className3" wicket:id="foo"></span>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class CssClassNameAppender extends AttributeAppender {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
* ```html
* <span class="className2 className3" wicket:id="foo"></span>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class CssClassNameModifier extends AttributeModifier {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
* component.add(new CssClassNameRemover(List("class-name-a", "class-name-b")));
* component.add(new CssClassNameRemover(Model.of("class-name-a")));
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class CssClassNameRemover extends CssClassNameAppender {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* }
* }
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public interface ICssClassNameModifier extends IClusterable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* }
* }
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public interface ICssClassNameProvider extends IClusterable {

Expand All @@ -40,4 +38,4 @@ public interface ICssClassNameProvider extends IClusterable {
*/
String cssClassName();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* ```html
* <cite wicket:id="id">text</cite>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class Cite extends WebMarkupContainer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* ```html
* <cite wicket:id="id"></cite>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class CiteBehavior extends Behavior {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
* ```
*
* It's possible to use `pre`, `code` and `xmp` as tag name.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class Code extends Label {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
* ```
*
* It's possible to use `pre`, `code` and `xmp` as tag name.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class CodeBehavior extends Behavior {
private static final long serialVersionUID = 1L;
Expand Down Expand Up @@ -136,9 +134,6 @@ public void unbind(final Component component) {
component.remove(cssClassNameAppender);
}

/**
* {@inheritDoc}
*/
@Override
public void onConfigure(final Component component) {
super.onConfigure(component);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
* </div>
* </div>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class Jumbotron extends WebMarkupContainer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
* </div>
* </div>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class JumbotronBehavior extends Behavior {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
* ```html
* <span wicket:id="componentId">content</span>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class LabelBehavior extends Behavior {
private final IModel<LabelType> type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
* A LabelType defines the type of label which changes highlighted color.
*
* documentation: http://getbootstrap.com/components/#labels
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public enum LabelType implements ICssClassNameProvider, ICssClassNameModifier {
Default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
* ```html
* <div wicket:id="id"></div>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class PageHeader extends Panel {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* <small>Someone famous</small>
* </blockquote>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class Quote extends WebMarkupContainer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
* <small>Someone famous</small>
* </blockquote>
* ```
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class QuoteBehavior extends Behavior {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
* ```
*
* It's possible to use `pre`, `code` and `xmp` as tag name.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class TransparentCodeContainer extends TransparentWebMarkupContainer {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ protected Component newSplitter(final String markupId) {
.setVisible(false);
}

/**
* {@inheritDoc}
*/
@Override
protected final IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ private Component getButtonLabel() {
return label;
}

/**
* {@inheritDoc}
*/
@Override
protected IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ protected Component newSplitter(final String markupId) {
.setVisible(false);
}

/**
* {@inheritDoc}
*/
@Override
protected IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ protected Component newSplitter(final String markupId) {
.setEscapeModelStrings(false);
}

/**
* {@inheritDoc}
*/
@Override
protected final IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
}

/**
* {@inheritDoc}
*/
@Override
protected final IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ protected Component newSplitter(final String markupId) {
return new WebMarkupContainer(markupId).setRenderBodyOnly(true).setEscapeModelStrings(false).setVisible(false);
}

/**
* {@inheritDoc}
*/
@Override
protected final IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ public abstract class SplitButton extends DropDownButton {
private AbstractLink btn;
private WebMarkupContainer caret;

/**
* {@inheritDoc}
*/
public SplitButton(final String markupId, final IModel<String> model) {
super(markupId, model);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public IModel<String> lableOf(T option) {
return Model.of(getDisplayValue(option).toString());
}

/** {@inheritDoc} */
public final CharSequence getDisplayValue(T object)
{
final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ protected void onConfigure() {
splitter.setVisible(icon.getType() != null);
}

/**
* {@inheritDoc}
*/
@Override
protected IMarkupSourcingStrategy newMarkupSourcingStrategy() {
return new PanelMarkupSourcingStrategy(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public <P extends Page> NavbarButton(final Class<P> pageClass, final PageParamet
public <P extends Page> NavbarButton(final Class<P> pageClass, final IModel<String> label) {
this(pageClass, new PageParameters(), label);
}

/**
* Constructor.
*
*
* @param pageClass
* The class of page to link to
* @param <P>
Expand All @@ -59,9 +59,6 @@ public <P extends Page> NavbarButton(final Class<P> pageClass, IconType iconType
setIconType(iconType);
}

/**
* {@inheritDoc}
*/
@Override
public NavbarButton<T> setIconType(final IconType icon) {
super.setIconType(icon);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@
public class AjaxBootstrapTabbedPanel<T extends ITab> extends BootstrapTabbedPanel<T> {
private static final long serialVersionUID = 1L;

/**
* {@inheritDoc}
*/
public AjaxBootstrapTabbedPanel(final String id, final List<T> tabs) {
this(id, tabs, null);
}

/**
* {@inheritDoc}
*/
public AjaxBootstrapTabbedPanel(final String id, final List<T> tabs, IModel<Integer> model) {
super(id, tabs, model);
setOutputMarkupId(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* ```
*
* The css resource will be loaded by wicket-webjars.
*
* @author Michael Haitz <michael.haitz@agilecoders.de>
*/
public class BootstrapCssReference extends WebjarsCssResourceReference {
private static final long serialVersionUID = 1L;
Expand Down Expand Up @@ -47,4 +45,4 @@ private BootstrapCssReference() {
super("/bootstrap/current/css/bootstrap.css");
}

}
}
Loading

0 comments on commit d4ffa6f

Please sign in to comment.