package com.liferay.mail.util;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.ClassUtil;
<BUG>import com.liferay.portal.kernel.util.InstanceFactory;</BUG>
import com.liferay.portal.security.pacl.PACLClassLoaderUtil;
import com.liferay.portal.util.PropsValues;
public class HookFactory {
public static Hook getInstance() {
<BUG>if (_originalHook == null) {
</BUG>
if (_log.isDebugEnabled()) {

package com.liferay.mail.util;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.ClassUtil;
import com.liferay.portal.security.pacl.PACLClassLoaderUtil;
import com.liferay.portal.util.PropsValues;
public class HookFactory {
public static Hook getInstance() {
if (_hook == null) {
if (_log.isDebugEnabled()) {
