import static com.google.common.base.Preconditions.checkNotNull;
import static java.lang.annotation.RetentionPolicy.SOURCE;
public class GithubLocalDataSource implements GithubDataSource {
public static String LOG_TAG = GithubLocalDataSource.class.getSimpleName();
private static final String PREFERENCES_TOKEN = "PREFERENCES_TOKEN";
<BUG>private static final String PREFERENCES_TOKEN_TYPE = "PREFERENCES_TOKEN_TYPE";
@Retention(SOURCE)</BUG>
@StringDef({TRENDING_PERIOD_DAILY, TRENDING_PERIOD_WEEKLY, TRENDING_PERIOD_MONTHLY})
public @interface TrendingPeriod {}
public static final String TRENDING_PERIOD_DAILY = "daily";

import static com.google.common.base.Preconditions.checkNotNull;
import static java.lang.annotation.RetentionPolicy.SOURCE;
public class GithubLocalDataSource implements GithubDataSource {
public static String LOG_TAG = GithubLocalDataSource.class.getSimpleName();
private static final String PREFERENCES_TOKEN = "PREFERENCES_TOKEN";
private static final String PREFERENCES_TOKEN_TYPE = "PREFERENCES_TOKEN_TYPE";
private static final String PREFERENCES_TRENDING_PERIOD = "PREFERENCES_TRENDING_PERIOD";
private static final String PREFERENCES_TRENDING_LANGUAGE = "PREFERENCES_TRENDING_LANGUAGE";
@Retention(SOURCE)
@StringDef({TRENDING_PERIOD_DAILY, TRENDING_PERIOD_WEEKLY, TRENDING_PERIOD_MONTHLY})
public @interface TrendingPeriod {}
public static final String TRENDING_PERIOD_DAILY = "daily";
