Console should get much smarter around compatibility with older units #6845

only:one step smarter
This commit is contained in:
rusefillc 2024-09-07 20:34:25 -04:00
parent 6cb4d7e864
commit 2c0e3e8ba7
3 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
plugins { plugins {
id 'java-library' id 'java-library'
id 'java-test-fixtures'
} }
dependencies { dependencies {

View File

@ -50,6 +50,7 @@ public class Msq {
} }
public ConfigurationImage asImage(IniFileModel instance) { public ConfigurationImage asImage(IniFileModel instance) {
Objects.requireNonNull(instance, "ini model");
ConfigurationImage ci = new ConfigurationImage(instance.getMetaInfo().getTotalSize()); ConfigurationImage ci = new ConfigurationImage(instance.getMetaInfo().getTotalSize());
Page page = findPage(); Page page = findPage();

View File

@ -1,9 +1,11 @@
plugins { plugins {
id 'java-library' id 'java-library'
id 'com.github.johnrengelman.shadow' version "${shadowVersion}" id 'com.github.johnrengelman.shadow' version "${shadowVersion}"
id 'java-test-fixtures'
} }
dependencies { dependencies {
api project(':config_definition') api project(':config_definition')
api project(':ecu_io') api project(':ecu_io')
testFixturesApi project(':ecu_io')
} }