This commit is contained in:
anhefti 2021-04-28 17:22:14 +02:00
parent 0bd7383bd2
commit 6966c520c5
2 changed files with 1 additions and 3 deletions

View file

@ -54,7 +54,7 @@ public class CertificateInfo implements Entity {
.stream() .stream()
.flatMap(type -> Stream.of(type.extentions)) .flatMap(type -> Stream.of(type.extentions))
.collect(Collectors.toList()) .collect(Collectors.toList())
.toArray(String[]::new); .toArray(new String[0]);
} }
public static CertificateFileType forFileName(final String fileName) { public static CertificateFileType forFileName(final String fileName) {

View file

@ -52,8 +52,6 @@ public class RAPConfiguration implements ApplicationConfiguration {
final String proctoringEntrypoint = StaticApplicationPropertyResolver final String proctoringEntrypoint = StaticApplicationPropertyResolver
.getProperty("sebserver.gui.remote.proctoring.entrypoint", "/remote-proctoring"); .getProperty("sebserver.gui.remote.proctoring.entrypoint", "/remote-proctoring");
// TODO get file path from properties
//application.addStyleSheet(RWT.DEFAULT_THEME_ID, "static/css/sebserver.css");
application.addStyleSheet(DEFAULT_THEME_NAME, "resource/theme/default.css"); application.addStyleSheet(DEFAULT_THEME_NAME, "resource/theme/default.css");
application.addStyleSheet(DEFAULT_THEME_NAME, "static/css/sebserver.css"); application.addStyleSheet(DEFAULT_THEME_NAME, "static/css/sebserver.css");
application.addStyleSheet("sms", "resource/theme/default.css"); application.addStyleSheet("sms", "resource/theme/default.css");