FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
44 stars 22 forks source link

FOME console 8 instances of warning: [unchecked] #196

Open mi-hol opened 1 year ago

mi-hol commented 1 year ago
/fome-fw/java_console/autotest/src/main/java/com/rusefi/IoUtil.java:147: warning: [unchecked] unchecked cast
/fome-fw/java_console/autotest/src/main/java/com/rusefi/IoUtil.java:162: warning: [unchecked] unchecked cast
/fome-fw/java_console/autotest/src/main/java/com/rusefi/IoUtil.java:163: warning: [unchecked] unchecked cast
/fome-fw/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java:109: warning: [unchecked] unchecked call to onResult(T) as a member of the raw type Listener
/fome-fw/java_console/autotest/src/main/java/com/rusefi/TestingUtils.java:144: warning: [unchecked] unchecked cast
/fome-fw/java_tools/configuration_definition/src/main/java/com/rusefi/ldmp/LiveDataProcessor.java:152: warning: [unchecked] unchecked cast
/fome-fw/java_tools/configuration_definition/src/main/java/com/rusefi/ldmp/LiveDataProcessor.java:176: warning: [unchecked] unchecked cast
/fome-fw/java_console/luaformatter/src/neoe/formatter/lua/LuaFormatter.java:375: warning: [unchecked] unchecked call to push(E) as a member of the raw type Stack
mi-hol commented 1 year ago

recommended fix seems "Doing Typesafe Check Before Using the Raw Type Collection" as outlined here