Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

LPS-26658 - reverting changes made in 77f593a for backwards compat

  • Loading branch information...
commit a5fbff8b844658f9626b4cd16a3ef0360aa9e245 1 parent 93be1a5
@mhan810 mhan810 authored brianchandotcom committed
View
22 portal-service/src/com/liferay/portal/kernel/search/AbstractSearchEngineConfigurator.java
@@ -15,8 +15,6 @@
package com.liferay.portal.kernel.search;
import com.liferay.portal.kernel.cluster.messaging.ClusterBridgeMessageListener;
-import com.liferay.portal.kernel.log.Log;
-import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.messaging.Destination;
import com.liferay.portal.kernel.messaging.InvokerMessageListener;
import com.liferay.portal.kernel.messaging.MessageBus;
@@ -29,7 +27,6 @@
import com.liferay.portal.kernel.util.Validator;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Map;
@@ -75,22 +72,6 @@ public void destroy() {
}
}
- /**
- * @deprecated {@link #setSearchEngines(Map)}
- */
- public void setSearchEngines(List<SearchEngine> searchEngines) {
- _searchEngines = new HashMap<String, SearchEngine>();
-
- if (searchEngines.size() == 1) {
- SearchEngine searchEngine = searchEngines.get(0);
-
- _searchEngines.put(SearchEngineUtil.SYSTEM_ENGINE_ID, searchEngine);
- }
- else {
- _log.error("Unable to determine search engine IDs");
- }
- }
-
public void setSearchEngines(Map<String, SearchEngine> searchEngines) {
_searchEngines = searchEngines;
}
@@ -348,9 +329,6 @@ protected void savePreviousSearchEngineListeners(
}
}
- private static Log _log = LogFactoryUtil.getLog(
- AbstractSearchEngineConfigurator.class);
-
private String _originalSearchEngineId;
private List<SearchEngineRegistration> _searchEngineRegistrations =
new ArrayList<SearchEngineRegistration>();
Please sign in to comment.
Something went wrong with that request. Please try again.