Skip to content

Commit

Permalink
WICKET-7024 javadoc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosans committed Nov 1, 2024
1 parent 117d4f5 commit 546b6b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -55,12 +57,10 @@
import org.apache.wicket.request.resource.ResourceReference.UrlAttributes;
import org.apache.wicket.response.ByteArrayResponse;
import org.apache.wicket.util.io.IOUtils;
import org.apache.wicket.util.resource.FileResourceStream;
import org.apache.wicket.util.resource.IResourceStream;
import org.apache.wicket.util.resource.StringResourceStream;
import org.apache.wicket.util.tester.WicketTestCase;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ public static boolean exists(final ResourceReference.Key key)
* The component's variation (of the style)
* @return {@code true} if a resource could be loaded, {@code false} otherwise
*
* @deprecated @see {@link PackageResource#exists(Class, String, Locale, String, String, boolean)}
* @deprecated use {@link PackageResource#exists(Class, String, Locale, String, String, boolean)}
*/
public static boolean exists(final Class<?> scope, final String path, final Locale locale,
final String style, final String variation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public final ResourceReference unregisterResourceReference(final Key key)
}

/**
* @deprecated @see {@link ResourceReferenceRegistry#getResourceReference(Class, String, Locale, String, String, boolean, boolean, boolean)}
* @deprecated use {@link ResourceReferenceRegistry#getResourceReference(Class, String, Locale, String, String, boolean, boolean, boolean)}
*/
public final ResourceReference getResourceReference(final Class<?> scope, final String name,
final Locale locale, final String style, final String variation, final boolean strict,
Expand Down Expand Up @@ -237,7 +237,7 @@ public ResourceReference getResourceReference(Class<?> scope, String name, Local
}

/**
* @deprecated @see {@link ResourceReferenceRegistry#getResourceReference(Key, boolean, boolean, boolean)}
* @deprecated use {@link ResourceReferenceRegistry#getResourceReference(Key, boolean, boolean, boolean)}
*/
public final ResourceReference getResourceReference(final Key key, final boolean strict,
final boolean createIfNotFound){
Expand All @@ -262,7 +262,7 @@ public final ResourceReference getResourceReference(final Key key, final boolean
* @param createIfNotFound
* If true a default resource reference is created if no entry can be found in the
* registry. The newly created resource reference will be added to the registry.
* @param strict
* @param updateCache
* If true, the server resource stream reference cache should be updated
* @return Either the resource reference found in the registry or, if requested, a resource
* reference automatically created based on the parameters provided. The automatically
Expand Down Expand Up @@ -412,7 +412,7 @@ private void enforceAutoAddedCacheSize(int maxSize)
}

/**
* @deprecated @see {@link ResourceReferenceRegistry#createDefaultResourceReference(Key, boolean)}
* @deprecated use {@link ResourceReferenceRegistry#createDefaultResourceReference(Key, boolean)}
*/
protected ResourceReference createDefaultResourceReference(final Key key)
{
Expand Down

0 comments on commit 546b6b3

Please sign in to comment.