/*
 * MIT License
 *
 * Copyright (c) 2017 Stan Mots (Storix)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.stolets.rxdiffutil.internal;

import com.stolets.rxdiffutil.diffrequest.DiffRequest;

/**
 * Global project constants.
 */
public final class Constants {
    /**
     * The default tag used to identify {@link DiffRequest}.
     */
    public static final String DIFF_REQUEST_DEFAULT_TAG = "DIFF_REQUEST_DEFAULT_TAG";

    /**
     * The tag which identifies the retained fragment used to listen to the given {@link android.app.Activity} lifecycle.
     */
    public static final String RETAINED_FRAGMENT_TAG = "com.stolets.rxdiffutil.RETAINED_FRAGMENT_TAG";
}

/*
 * MIT License
 *
 * Copyright (c) 2017 Stan Mots (Storix)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.stolets.rxdiffutil.internal;

import com.stolets.rxdiffutil.diffrequest.DiffRequestManager;

/**
 * Global project constants.
 */
public final class Constants {
    /**
     * The default tag used to identify {@link DiffRequestManager}.
     */
    public static final String DIFF_REQUEST_MANAGER_DEFAULT_TAG = "DIFF_REQUEST_MANAGER_DEFAULT_TAG";

    /**
     * The tag which identifies the retained fragment used to listen to the given {@link android.app.Activity} lifecycle.
     */
    public static final String RETAINED_FRAGMENT_TAG = "com.stolets.rxdiffutil.RETAINED_FRAGMENT_TAG";
}

Refactor Constants