/*
 * Axelor Business Solutions
 *
 * Copyright (C) 2005-2018 Axelor (<http://axelor.com>).
 *
 * This program is free software: you can redistribute it and/or  modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.axelor.meta.schema.views;

import com.fasterxml.jackson.annotation.JsonTypeName;
import java.lang.invoke.MethodHandles;
import javax.xml.bind.annotation.XmlType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Deprecated
@XmlType
@JsonTypeName("include")
public class PanelInclude extends FormInclude {

  private static final Logger logger =
      LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

  public PanelInclude() {
    logger.warn("Usage of \"panel-include\" tag is deprecated. Use view extensions instead.");
  }
}

@@ -805,463 +805,119 @@
 java
-.lang.invoke.MethodHandles;%0Aimport javax.xml.bind.annotation.XmlType;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0A@Deprecated%0A@XmlType%0A@JsonTypeName(%22include%22)%0Apublic class PanelInclude extends FormInclude %7B%0A%0A  private static final Logger logger =%0A      LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());%0A%0A  public PanelInclude() %7B%0A    logger.warn(%22Usage of %5C%22panel-include%5C%22 tag is deprecated. Use view extensions instead.%22);%0A  %7D%0A
+x.xml.bind.annotation.XmlType;%0A%0A@XmlType%0A@JsonTypeName(%22include%22)%0Apublic class PanelInclude extends FormInclude %7B
 %7D%0A

Revert "Warn about deprecated "panel-include" tag"