diff options
Diffstat (limited to 'BKUAppletExt/src/main/java/at/gv/egiz')
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateApplet.java (renamed from BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateApplet.java) | 4 | ||||
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateBKUWorker.java (renamed from BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateBKUWorker.java) | 22 | ||||
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/HardwareInfoBKUWorker.java | 12 |
3 files changed, 19 insertions, 19 deletions
diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateApplet.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateApplet.java index 4a46f397..06b7f249 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateApplet.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateApplet.java @@ -39,7 +39,7 @@ import at.gv.egiz.bku.gui.viewer.FontProvider; * @author Thomas Lenz <thomas.lenz@iaik.tugraz.at> */ -public class GETCertificateApplet extends BKUApplet { +public class GetCertificateApplet extends BKUApplet { private static final long serialVersionUID = 1L; @@ -55,7 +55,7 @@ public class GETCertificateApplet extends BKUApplet { @Override protected AppletBKUWorker createBKUWorker(BKUApplet applet, BKUGUIFacade gui) { - return new GETCertificateBKUWorker(applet, (GetCertificateGUIFacade) gui); + return new GetCertificateBKUWorker(applet, (GetCertificateGUIFacade) gui); } } diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateBKUWorker.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateBKUWorker.java index 5b04e28b..adf5fd81 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GETCertificateBKUWorker.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/GetCertificateBKUWorker.java @@ -31,29 +31,29 @@ import org.slf4j.LoggerFactory; import at.gv.egiz.bku.gui.BKUGUIFacade; import at.gv.egiz.bku.gui.GetCertificateGUIFacade; -import at.gv.egiz.bku.smccstal.GETCertificateRequestHandler; +import at.gv.egiz.bku.smccstal.GetCertificateRequestHandler; import at.gv.egiz.stal.ErrorResponse; import at.gv.egiz.stal.InfoboxReadRequest; import at.gv.egiz.stal.QuitRequest; import at.gv.egiz.stal.STALResponse; import at.gv.egiz.stal.SignRequest; -import at.gv.egiz.stal.ext.GETCertificateRequest; -import at.gv.egiz.stal.ext.GETCertificateResponse; +import at.gv.egiz.stal.ext.GetCertificateRequest; +import at.gv.egiz.stal.ext.GetCertificateResponse; /** * * @author Thomas Lenz <thomas.lenz@iaik.tugraz.at> */ -public class GETCertificateBKUWorker extends AppletBKUWorker { +public class GetCertificateBKUWorker extends AppletBKUWorker { - private final Logger log = LoggerFactory.getLogger(GETCertificateBKUWorker.class); + private final Logger log = LoggerFactory.getLogger(GetCertificateBKUWorker.class); - public GETCertificateBKUWorker(BKUApplet applet, GetCertificateGUIFacade gui) { + public GetCertificateBKUWorker(BKUApplet applet, GetCertificateGUIFacade gui) { super(applet, gui); removeRequestHandler(InfoboxReadRequest.class); removeRequestHandler(SignRequest.class); - addRequestHandler(GETCertificateRequest.class, new GETCertificateRequestHandler()); + addRequestHandler(GetCertificateRequest.class, new GetCertificateRequestHandler()); } @Override @@ -63,15 +63,15 @@ public class GETCertificateBKUWorker extends AppletBKUWorker { try { - List<STALResponse> responses = handleRequest(Collections.singletonList(new GETCertificateRequest())); + List<STALResponse> responses = handleRequest(Collections.singletonList(new GetCertificateRequest())); handleRequest(Collections.singletonList(new QuitRequest())); if (responses.size() == 1) { STALResponse response = responses.get(0); - if (response instanceof GETCertificateResponse) { - log.debug("GET certificate dialog terminated."); + if (response instanceof GetCertificateResponse) { + log.debug("Get certificate dialog terminated."); } else if (response instanceof ErrorResponse) { - log.debug("GET certificate dialog terminated with error."); + log.debug("Get certificate dialog terminated with error."); } else { throw new RuntimeException("Invalid STAL response: " + response.getClass().getName()); } diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/HardwareInfoBKUWorker.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/HardwareInfoBKUWorker.java index bfa4d71e..60dd94d3 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/HardwareInfoBKUWorker.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/HardwareInfoBKUWorker.java @@ -31,14 +31,14 @@ import org.slf4j.LoggerFactory; import at.gv.egiz.bku.gui.BKUGUIFacade; import at.gv.egiz.bku.gui.GetHardwareInfoGUIFacade; -import at.gv.egiz.bku.smccstal.GETHardwareInfoRequestHandler; +import at.gv.egiz.bku.smccstal.GetHardwareInfoRequestHandler; import at.gv.egiz.stal.ErrorResponse; import at.gv.egiz.stal.InfoboxReadRequest; import at.gv.egiz.stal.QuitRequest; import at.gv.egiz.stal.STALResponse; import at.gv.egiz.stal.SignRequest; -import at.gv.egiz.stal.ext.GETHardwareInfoRequest; -import at.gv.egiz.stal.ext.GETHardwareInfoResponse; +import at.gv.egiz.stal.ext.GetHardwareInfoRequest; +import at.gv.egiz.stal.ext.GetHardwareInfoResponse; /** * @@ -52,7 +52,7 @@ public class HardwareInfoBKUWorker extends AppletBKUWorker { super(applet, gui); removeRequestHandler(InfoboxReadRequest.class); removeRequestHandler(SignRequest.class); - addRequestHandler(GETHardwareInfoRequest.class, new GETHardwareInfoRequestHandler()); + addRequestHandler(GetHardwareInfoRequest.class, new GetHardwareInfoRequestHandler()); } @Override @@ -62,12 +62,12 @@ public class HardwareInfoBKUWorker extends AppletBKUWorker { try { - List<STALResponse> responses = handleRequest(Collections.singletonList(new GETHardwareInfoRequest())); + List<STALResponse> responses = handleRequest(Collections.singletonList(new GetHardwareInfoRequest())); handleRequest(Collections.singletonList(new QuitRequest())); if (responses.size() == 1) { STALResponse response = responses.get(0); - if (response instanceof GETHardwareInfoResponse) { + if (response instanceof GetHardwareInfoResponse) { log.debug("hardware-info dialog terminated."); } else if (response instanceof ErrorResponse) { log.debug("hardware-info dialog terminated with error."); |