From 4682ee53da1febd33ad594cde042a6e9e48505b0 Mon Sep 17 00:00:00 2001 From: srosse <stephane.rosse@frentix.com> Date: Tue, 23 Jun 2020 07:27:56 +0200 Subject: [PATCH] no-jira: remove System.out --- .../core/commons/services/text/impl/nutch/NGramProfile.java | 6 +++--- .../olat/core/util/filter/impl/XMLValidEntityFilter.java | 1 - .../java/org/olat/course/CoursefolderWebDAVMergeSource.java | 5 ----- .../olat/course/nodes/cl/manager/CheckboxManagerImpl.java | 4 ---- .../ui/components/AssessmentObjectComponentRenderer.java | 1 - .../docpool/webdav/DocumentPoolWebDAVMergeSource.java | 1 - .../java/org/olat/registration/RegistrationController.java | 1 - 7 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/olat/core/commons/services/text/impl/nutch/NGramProfile.java b/src/main/java/org/olat/core/commons/services/text/impl/nutch/NGramProfile.java index cee9175bfc6..a4e5e673bfa 100644 --- a/src/main/java/org/olat/core/commons/services/text/impl/nutch/NGramProfile.java +++ b/src/main/java/org/olat/core/commons/services/text/impl/nutch/NGramProfile.java @@ -472,7 +472,7 @@ public class NGramProfile { f = new File(profilename + "." + FILE_EXTENSION); FileOutputStream fos = new FileOutputStream(f); newProfile.save(fos); - System.out.println("new profile " + profilename + "." + FILE_EXTENSION + " was created."); + //System.out.println("new profile " + profilename + "." + FILE_EXTENSION + " was created."); break; case SIMILARITY: @@ -486,7 +486,7 @@ public class NGramProfile { fis = new FileInputStream(f); NGramProfile newProfile2 = NGramProfile.create(filename2, fis, encoding); newProfile2.normalize(); - System.out.println("Similarity is " + newProfile.getSimilarity(newProfile2)); + //System.out.println("Similarity is " + newProfile.getSimilarity(newProfile2)); break; case SCORE: @@ -500,7 +500,7 @@ public class NGramProfile { DEFAULT_MIN_NGRAM_LENGTH, DEFAULT_MAX_NGRAM_LENGTH); compare.load(fis); - System.out.println("Score is " + compare.getSimilarity(newProfile)); + //System.out.println("Score is " + compare.getSimilarity(newProfile)); break; } diff --git a/src/main/java/org/olat/core/util/filter/impl/XMLValidEntityFilter.java b/src/main/java/org/olat/core/util/filter/impl/XMLValidEntityFilter.java index 6779846c33f..b712f9e0c99 100644 --- a/src/main/java/org/olat/core/util/filter/impl/XMLValidEntityFilter.java +++ b/src/main/java/org/olat/core/util/filter/impl/XMLValidEntityFilter.java @@ -80,7 +80,6 @@ public class XMLValidEntityFilter implements Filter { writer.append('&').append(entityContent).append(';'); } else if (entityValue < 0x20) { //skip them - System.out.println(); } else { writer.append('&').append(entityContent).append(';'); } diff --git a/src/main/java/org/olat/course/CoursefolderWebDAVMergeSource.java b/src/main/java/org/olat/course/CoursefolderWebDAVMergeSource.java index 2ddd8393db1..e9b5a99cc7f 100644 --- a/src/main/java/org/olat/course/CoursefolderWebDAVMergeSource.java +++ b/src/main/java/org/olat/course/CoursefolderWebDAVMergeSource.java @@ -104,11 +104,6 @@ class CoursefolderWebDAVMergeSource extends WebDAVMergeSource { //add bookmarked courses if(webDAVModule.isEnableLearnersBookmarksCourse()) { List<RepositoryEntry> bookmarkedEntries = repositoryManager.getLearningResourcesAsBookmarkedMember(getIdentity(), identityEnv.getRoles(), "CourseModule", 0, -1); - for(RepositoryEntry bookmarkedEntry:bookmarkedEntries) { - System.out.println(bookmarkedEntry.getDisplayname()); - } - - appendCourses(bookmarkedEntries, containers, terms, noTermContainer, namingAndGrouping, false); } diff --git a/src/main/java/org/olat/course/nodes/cl/manager/CheckboxManagerImpl.java b/src/main/java/org/olat/course/nodes/cl/manager/CheckboxManagerImpl.java index 6f520f8e5ad..ce06632f4b2 100644 --- a/src/main/java/org/olat/course/nodes/cl/manager/CheckboxManagerImpl.java +++ b/src/main/java/org/olat/course/nodes/cl/manager/CheckboxManagerImpl.java @@ -228,10 +228,6 @@ public class CheckboxManagerImpl implements CheckboxManager { } } } - - for(DBCheckbox dbCheckbox:uuids.values()) { - System.out.println("Remove them??? " + dbCheckbox.getCheckboxId()); - } } @Override diff --git a/src/main/java/org/olat/ims/qti21/ui/components/AssessmentObjectComponentRenderer.java b/src/main/java/org/olat/ims/qti21/ui/components/AssessmentObjectComponentRenderer.java index 91770e3dbb9..56060b4215b 100644 --- a/src/main/java/org/olat/ims/qti21/ui/components/AssessmentObjectComponentRenderer.java +++ b/src/main/java/org/olat/ims/qti21/ui/components/AssessmentObjectComponentRenderer.java @@ -519,7 +519,6 @@ public abstract class AssessmentObjectComponentRenderer extends DefaultComponent renderTable(renderer, sb, component, resolvedAssessmentItem, itemSessionState, (Table)block, ubu, translator); break; case Object.QTI_CLASS_NAME: - System.out.println("1"); break; default: { renderStartHtmlTag(sb, component, resolvedAssessmentItem, block, null); diff --git a/src/main/java/org/olat/modules/docpool/webdav/DocumentPoolWebDAVMergeSource.java b/src/main/java/org/olat/modules/docpool/webdav/DocumentPoolWebDAVMergeSource.java index 815710df727..b6a137ed756 100644 --- a/src/main/java/org/olat/modules/docpool/webdav/DocumentPoolWebDAVMergeSource.java +++ b/src/main/java/org/olat/modules/docpool/webdav/DocumentPoolWebDAVMergeSource.java @@ -129,7 +129,6 @@ class DocumentPoolWebDAVMergeSource extends WebDAVMergeSource { VFSContainer documents = taxonomyService.getDocumentsLibrary(taxonomy); SubscriptionContext subscriptionCtx = notificationsHandler.getTaxonomyDocumentsLibrarySubscriptionContext(); TaxonomyVFSSecurityCallback secCallback = new TaxonomyVFSSecurityCallback(taxonomyNode, subscriptionCtx); - System.out.println(taxonomyNode.isCanWrite()); documents.setLocalSecurityCallback(secCallback); return new NamedContainerImpl(taxonomyNode.getTitle(), documents); } diff --git a/src/main/java/org/olat/registration/RegistrationController.java b/src/main/java/org/olat/registration/RegistrationController.java index c90ec44ae5a..fa224b77d6f 100644 --- a/src/main/java/org/olat/registration/RegistrationController.java +++ b/src/main/java/org/olat/registration/RegistrationController.java @@ -386,7 +386,6 @@ public class RegistrationController extends BasicController implements Activatea if(!htmlBody) { body += SEPARATOR + translate("reg.wherefrom", whereFromAttrs); } - System.out.println(body); if(sendMessage(email, translate("reg.subject"), body)) { showInfo("email.sent"); -- GitLab