001/* 
002 * Copyright (C) 2016 Hobrasoft s.r.o.
003 *
004 * This program is free software: you can redistribute it and/or modify
005 * it under the terms of the GNU Affero General Public License as published by
006 * the Free Software Foundation, either version 3 of the License, or
007 * (at your option) any later version.
008 *
009 * This program is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
012 * GNU Affero General Public License for more details.
013 *
014 * You should have received a copy of the GNU Affero General Public License
015 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
016 */
017package cz.hobrasoft.pdfmu.jackson;
018
019import com.fasterxml.jackson.annotation.JsonAutoDetect;
020
021/**
022 *
023 * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip Bartek</a>
024 */
025// HACK: Adding a Jackson annotation to a class with no fields makes it parsable.
026// Source: http://stackoverflow.com/a/21319219/4054250
027@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.NONE)
028public class EmptyResult extends Result {
029}