Skip to content
Permalink
Browse files

Cosmetic changes, eliminated warnings from code base

  • Loading branch information...
peter-gergely-horvath committed Mar 11, 2016
1 parent efc3536 commit 5df569e47ea8021d504d4211485f18c14dba49c2
@@ -23,6 +23,11 @@
*/
public class HResultException extends RuntimeException {

/**
* Required for serialization.
*/
private static final long serialVersionUID = 1L;

/**
* Stores the HRESULT error indicator value.
*/
@@ -16,13 +16,18 @@


/**
* Thrown to indicate that the initialization of WinDPAPI4j
* Thrown to indicate that the initialization of WinDPAPI4J
* library has failed.
*
* @author Peter G. Horvath
*/
public class InitializationFailedException extends Exception {

/**
* Required for serialization.
*/
private static final long serialVersionUID = 1L;

/**
* Constructs a new {@code InitializationFailedException} with the specified message and cause.
*
@@ -22,6 +22,11 @@
*/
public class WinAPICallFailedException extends Exception {

/**
* Required for serialization.
*/
private static final long serialVersionUID = 1L;

/**
* Constructs a new {@code WinAPICallFailedException} with the specified message and cause.
*
@@ -298,7 +298,6 @@ public static boolean isPlatformSupported() {
* </li>
* </ul>
*/
@SuppressWarnings("unused") // enum values are exposed in the API and are not referenced directly
public enum CryptProtectFlag {
/**
* For remote-access situations where ui is not an option, if UI was specified
@@ -602,7 +601,7 @@ boolean CryptUnprotectData(DATA_BLOB pDataIn, PointerByReference szDataDescr,
public int cbData;
public Pointer pbData;

protected List getFieldOrder() {
protected List<?> getFieldOrder() {
return Arrays.asList("cbData", "pbData");
}

@@ -1,5 +1,5 @@
/**
* Implementation of WinDPAPI4j library.
* Implementation of WinDPAPI4J library.
*
* @since 1.0
* @author Peter G. Horvath

0 comments on commit 5df569e

Please sign in to comment.
You can’t perform that action at this time.