mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 23:50:47 +00:00
Java 8 compatibility fix
This commit is contained in:
@@ -25,6 +25,8 @@ import com.sun.jna.Library;
|
|||||||
import com.sun.jna.Native;
|
import com.sun.jna.Native;
|
||||||
import com.sun.jna.Structure;
|
import com.sun.jna.Structure;
|
||||||
import com.sun.jna.win32.W32APIOptions;
|
import com.sun.jna.win32.W32APIOptions;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface Dwmapi extends Library {
|
public interface Dwmapi extends Library {
|
||||||
|
|
||||||
@@ -38,8 +40,8 @@ public interface Dwmapi extends Library {
|
|||||||
public int cyBottomHeight;
|
public int cyBottomHeight;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected java.util.List<String> getFieldOrder() {
|
protected List<String> getFieldOrder() {
|
||||||
return java.util.List.of("cxLeftWidth", "cxRightWidth", "cyTopHeight", "cyBottomHeight");
|
return Arrays.asList("cxLeftWidth", "cxRightWidth", "cyTopHeight", "cyBottomHeight");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user