mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-20 17:52:47 +00:00
fix SLF4J warnings
This commit is contained in:
parent
6f0553fe3f
commit
30a049a613
@ -43,17 +43,16 @@ dependencies {
|
||||
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
|
||||
implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
|
||||
implementation 'org.glassfish.jaxb:jaxb-runtime:4.0.1'
|
||||
implementation 'org.slf4j:slf4j-simple:1.7.30'
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
|
||||
testImplementation 'org.junit.platform:junit-platform-launcher:1.9.3'
|
||||
testImplementation 'org.hamcrest:hamcrest:2.2'
|
||||
testImplementation project(path: ':HIRS_AttestationCA')
|
||||
|
||||
testImplementation 'org.mockito:mockito-core:4.2.0'
|
||||
testImplementation project(path: ':HIRS_AttestationCA')
|
||||
|
||||
compileOnly libs.lombok
|
||||
annotationProcessor libs.lombok
|
||||
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
|
@ -113,21 +113,21 @@ public class DeviceSecurityEventDataPciContext extends DeviceSecurityEventDataDe
|
||||
|
||||
dSEDpciContextInfo += super.toString();
|
||||
dSEDpciContextInfo += " Device Type = PCI\n";
|
||||
// dSEDpciContextInfo += " Vendor = " + translateVendor(vendorId) + "\n";
|
||||
// dSEDpciContextInfo += " Device = " + translateDevice(vendorId, deviceId) + "\n";
|
||||
// dSEDpciContextInfo += " RevisionID = " + revisionId + "\n";
|
||||
dSEDpciContextInfo += " Vendor = " + translateVendor(vendorId) + "\n";
|
||||
dSEDpciContextInfo += " Device = " + translateDevice(vendorId, deviceId) + "\n";
|
||||
dSEDpciContextInfo += " RevisionID = " + revisionId + "\n";
|
||||
|
||||
// List<String> classCodeList = translateDeviceClass(classCode);
|
||||
// dSEDpciContextInfo += " Device Class: \n";
|
||||
// if(classCodeList.size() == 3) {
|
||||
// dSEDpciContextInfo += " Class = " + classCodeList.get(0) + "\n";
|
||||
// dSEDpciContextInfo += " Subclass = " + classCodeList.get(1) + "\n";
|
||||
// dSEDpciContextInfo += " Programming Interface = " + classCodeList.get(2) + "\n";
|
||||
// } else {
|
||||
// dSEDpciContextInfo += " ** Class code could not be determined **";
|
||||
// }
|
||||
// dSEDpciContextInfo += " SubsystemVendor = " + translateVendor(subsystemVendorId) + "\n";
|
||||
// dSEDpciContextInfo += " Subsystem = " + translateDevice(subsystemVendorId, subsystemId) + "\n";
|
||||
List<String> classCodeList = translateDeviceClass(classCode);
|
||||
dSEDpciContextInfo += " Device Class: \n";
|
||||
if(classCodeList.size() == 3) {
|
||||
dSEDpciContextInfo += " Class = " + classCodeList.get(0) + "\n";
|
||||
dSEDpciContextInfo += " Subclass = " + classCodeList.get(1) + "\n";
|
||||
dSEDpciContextInfo += " Programming Interface = " + classCodeList.get(2) + "\n";
|
||||
} else {
|
||||
dSEDpciContextInfo += " ** Class code could not be determined **";
|
||||
}
|
||||
dSEDpciContextInfo += " SubsystemVendor = " + translateVendor(subsystemVendorId) + "\n";
|
||||
dSEDpciContextInfo += " Subsystem = " + translateDevice(subsystemVendorId, subsystemId) + "\n";
|
||||
|
||||
return dSEDpciContextInfo;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user