Skip to content

Commit

Permalink
fix javadoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
twall committed Jan 10, 2016
1 parent ba18b38 commit 3e67635
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public HRESULT GetTypeInfo(UINT iTInfo, LCID lcid,
* @param lcid The locale context in which to interpret the names.
* @param rgDispId Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in
* the rgszNames array. The first element represents the member name. The subsequent elements represent each of the member's parameters.
* @return
* @return status of the operation
*/
public HRESULT GetIDsOfNames(REFIID riid, WString[] rgszNames, int cNames,
LCID lcid, DISPIDByReference rgDispId);
Expand Down
3 changes: 1 addition & 2 deletions contrib/platform/src/com/sun/jna/platform/win32/Wininet.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ boolean FindNextUrlCacheEntry(HANDLE hEnumHandle, INTERNET_CACHE_ENTRY_INFO lpNe
* </code>
* </pre>
*
* @see https://msdn.microsoft.com/en-us/library/windows/desktop/aa385134(v=
* vs.85).aspx
* @see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa385134(v=vs.85).aspx">MSDN</a>
*/
static class INTERNET_CACHE_ENTRY_INFO extends Structure {
public static final List<String> FIELDS = createFieldsOrder(
Expand Down
8 changes: 4 additions & 4 deletions src/com/sun/jna/Native.java
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ private static void loadLibraryInstance(Class<?> cls) {
* all ancestor classes and interfaces for a declaring class which
* implements {@link Library}.
* @param cls The given class
* @param Tge enclosing class
* @return The enclosing class
*/
static Class<?> findEnclosingLibraryClass(Class<?> cls) {
if (cls == null) {
Expand Down Expand Up @@ -1188,8 +1188,8 @@ public boolean accept(File dir, String name) {
}

/**
* @param The type class
* @param The object instance
* @param type The Java class for which the native size is to be determined
* @param value an instance of said class (if available)
* @return the native size of the given class, in bytes.
* For use with arrays.
*/
Expand Down Expand Up @@ -1257,7 +1257,7 @@ public static int getNativeSize(Class<?> cls) {

/**
* @param cls The Java class
* @return {@code true) whether the given class is supported as a native argument type.
* @return {@code true} whether the given class is supported as a native argument type.
*/
public static boolean isSupportedNativeType(Class<?> cls) {
if (Structure.class.isAssignableFrom(cls)) {
Expand Down

0 comments on commit 3e67635

Please sign in to comment.