From fe7cdc0265b838214c5a6a48c05a5d5d0ec09ec4 Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Wed, 21 May 2014 16:55:50 +0200
Subject: [PATCH] OO-990: remove unused stuff

---
 .../services/tagging/TaggingUIFactory.java    | 41 -----------
 .../services/tagging/ui/TagComponent.java     | 59 ---------------
 .../tagging/ui/TaggingController.java         | 72 -------------------
 .../AutoCompleterController.java              |  2 +-
 .../FlexiAutoCompleterController.java         |  2 +-
 5 files changed, 2 insertions(+), 174 deletions(-)
 delete mode 100644 src/main/java/org/olat/core/commons/services/tagging/TaggingUIFactory.java
 delete mode 100644 src/main/java/org/olat/core/commons/services/tagging/ui/TagComponent.java
 delete mode 100644 src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java

diff --git a/src/main/java/org/olat/core/commons/services/tagging/TaggingUIFactory.java b/src/main/java/org/olat/core/commons/services/tagging/TaggingUIFactory.java
deleted file mode 100644
index 74bb9dd3822..00000000000
--- a/src/main/java/org/olat/core/commons/services/tagging/TaggingUIFactory.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * <a href="http://www.openolat.org">
- * OpenOLAT - Online Learning and Training</a><br>
- * <p>
- * Licensed under the Apache License, Version 2.0 (the "License"); <br>
- * you may not use this file except in compliance with the License.<br>
- * You may obtain a copy of the License at the
- * <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache homepage</a>
- * <p>
- * Unless required by applicable law or agreed to in writing,<br>
- * software distributed under the License is distributed on an "AS IS" BASIS, <br>
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br>
- * See the License for the specific language governing permissions and <br>
- * limitations under the License.
- * <p>
- * Initial code contributed and copyrighted by<br>
- * frentix GmbH, http://www.frentix.com
- * <p>
- */
-
-package org.olat.core.commons.services.tagging;
-
-/**
- * 
- * Description:<br>
- * Factory of the controllers for tagging
- * 
- * <P>
- * Initial Date:  19 jul. 2010 <br>
- * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com
- */
-public class TaggingUIFactory {
-
-	public void createTagCloudView(){
-		//
-	}
-
-	public void createTaggingView(){
-		//
-	}
-}
diff --git a/src/main/java/org/olat/core/commons/services/tagging/ui/TagComponent.java b/src/main/java/org/olat/core/commons/services/tagging/ui/TagComponent.java
deleted file mode 100644
index 9d55a553443..00000000000
--- a/src/main/java/org/olat/core/commons/services/tagging/ui/TagComponent.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* OLAT - Online Learning and Training<br>
-* http://www.olat.org
-* <p>
-* Licensed under the Apache License, Version 2.0 (the "License"); <br>
-* you may not use this file except in compliance with the License.<br>
-* You may obtain a copy of the License at
-* <p>
-* http://www.apache.org/licenses/LICENSE-2.0
-* <p>
-* Unless required by applicable law or agreed to in writing,<br>
-* software distributed under the License is distributed on an "AS IS" BASIS, <br>
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br>
-* See the License for the specific language governing permissions and <br>
-* limitations under the License.
-* <p>
-* Copyright (c) since 2004 at Multimedia- & E-Learning Services (MELS),<br>
-* University of Zurich, Switzerland.
-* <hr>
-* <a href="http://www.openolat.org">
-* OpenOLAT - Online Learning and Training</a><br>
-* This file has been modified by the OpenOLAT community. Changes are licensed
-* under the Apache 2.0 license as the original file.
-*/
-package org.olat.core.commons.services.tagging.ui;
-
-import org.olat.core.gui.UserRequest;
-import org.olat.core.gui.components.AbstractComponent;
-import org.olat.core.gui.components.ComponentRenderer;
-
-/** 
- * Description:<br>
- * TODO: rhaag Class Description for TagComponent
- * <P>
- * Initial Date:  11.06.2010 <br>
- * @author rhaag
- */
-public class TagComponent extends AbstractComponent {
-
-	/**
-	 * @param name
-	 */
-	public TagComponent(String name) {
-		super(name);
-	}
-
-	/**
-	 * @see org.olat.core.gui.components.Component#doDispatchRequest(org.olat.core.gui.UserRequest)
-	 */
-	@Override
-	protected void doDispatchRequest(UserRequest ureq) {
-	//
-	}
-
-	@Override
-	public ComponentRenderer getHTMLRendererSingleton() {
-		return null;
-	}
-}
diff --git a/src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java b/src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java
deleted file mode 100644
index b4d8fe69d7d..00000000000
--- a/src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
-* OLAT - Online Learning and Training<br>
-* http://www.olat.org
-* <p>
-* Licensed under the Apache License, Version 2.0 (the "License"); <br>
-* you may not use this file except in compliance with the License.<br>
-* You may obtain a copy of the License at
-* <p>
-* http://www.apache.org/licenses/LICENSE-2.0
-* <p>
-* Unless required by applicable law or agreed to in writing,<br>
-* software distributed under the License is distributed on an "AS IS" BASIS, <br>
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br>
-* See the License for the specific language governing permissions and <br>
-* limitations under the License.
-* <p>
-* Copyright (c) since 2004 at Multimedia- & E-Learning Services (MELS),<br>
-* University of Zurich, Switzerland.
-* <hr>
-* <a href="http://www.openolat.org">
-* OpenOLAT - Online Learning and Training</a><br>
-* This file has been modified by the OpenOLAT community. Changes are licensed
-* under the Apache 2.0 license as the original file.
-*/
-package org.olat.core.commons.services.tagging.ui;
-
-import org.olat.core.gui.UserRequest;
-import org.olat.core.gui.components.form.flexible.FormItemContainer;
-import org.olat.core.gui.components.form.flexible.impl.FormBasicController;
-import org.olat.core.gui.control.Controller;
-import org.olat.core.gui.control.WindowControl;
-
-/** 
- * Description:<br>
- * TODO: rhaag Class Description for TaggingController
- * <P>
- * Initial Date:  11.06.2010 <br>
- * @author rhaag
- */
-public class TaggingController extends FormBasicController {
-
-	/**
-	 * @param ureq
-	 * @param wControl
-	 */
-	public TaggingController(UserRequest ureq, WindowControl wControl) {
-		super(ureq, wControl);
-		
-		initForm(ureq);
-	}
-
-
-	/**
-	 * @see org.olat.core.gui.control.DefaultController#doDispose()
-	 */
-	@Override
-	protected void doDispose() {
-		//auto-disposed
-	}
-
-
-	@Override
-	protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
-		//
-	}
-
-
-	@Override
-	protected void formOK(UserRequest ureq) {
-		//
-	}
-}
diff --git a/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/AutoCompleterController.java b/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/AutoCompleterController.java
index 94252c32277..e975ff9b12c 100644
--- a/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/AutoCompleterController.java
+++ b/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/AutoCompleterController.java
@@ -113,7 +113,7 @@ public class AutoCompleterController extends BasicController {
 		}
 		
 		myContent.put("typeahead", new CustomJSComponent("typeahead", new String[] {
-				"js/jquery/typeahead/typeahead.bundle.js"
+				"js/jquery/typeahead/typeahead.bundle.min.js"
 		}));
 		
 		myContent.contextPut("showDisplayKey", Boolean.valueOf(showDisplayKey));
diff --git a/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/FlexiAutoCompleterController.java b/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/FlexiAutoCompleterController.java
index 58bc8fdc4ef..17798d4391b 100644
--- a/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/FlexiAutoCompleterController.java
+++ b/src/main/java/org/olat/core/gui/control/generic/ajax/autocompletion/FlexiAutoCompleterController.java
@@ -149,7 +149,7 @@ public class FlexiAutoCompleterController extends FormBasicController {
 		// Configure displaying parameters
 		
 		layoutCont.add("typeahead", new CustomJSFormItem("typeahead", new String[] {
-				"js/jquery/typeahead/typeahead.bundle.js"
+				"js/jquery/typeahead/typeahead.bundle.min.js"
 		}));
 	
 		if (label != null) {
-- 
GitLab