/*
 * Copyright 2016 Sascha Peilicke
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package saschpe.poker.util;

import android.support.annotation.IntDef;
import android.support.v4.util.SimpleArrayMap;
import android.util.SparseIntArray;

import java.util.Arrays;
import java.util.List;

public final class PlanningPoker {
    public static final int FIBONACCI = 1;
    public static final int T_SHIRT_SIZES = 2;
    public static final int IDEAL_DAYS = 3;
    @IntDef({FIBONACCI, T_SHIRT_SIZES, IDEAL_DAYS})
    public @interface Flavor {}

    public static final SimpleArrayMap<Integer, List<String>> VALUES = new SimpleArrayMap<>(3);
    static {
        // Use an "@" for coffee, because "☕" doesn't render correctly on most devices
        VALUES.put(FIBONACCI, Arrays.asList("0", "½", "1", "2", "3", "5", "8", "13", "20", "40", "100", "?", "@"));
        VALUES.put(T_SHIRT_SIZES, Arrays.asList("XS", "S", "M", "L", "XL", "XXL"));
        VALUES.put(IDEAL_DAYS, Arrays.asList("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11+"));
    }

    public static final SparseIntArray DEFAULTS = new SparseIntArray(3);
    static {
        DEFAULTS.append(FIBONACCI, 5);
        DEFAULTS.append(T_SHIRT_SIZES, 2);
        DEFAULTS.append(IDEAL_DAYS, 5);
    }
}


@@ -748,16 +748,100 @@
 Array;%0A%0A
+import java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0A
 import j
@@ -1102,16 +1102,55 @@
 _DAYS%7D)%0A
+    @Retention(RetentionPolicy.SOURCE)%0A
     publ

Add RetentionPolicy to flavor