From 67ffc5cc6425f9a8f0438a39a33940351cd80662 Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Sun, 11 Dec 2016 17:02:11 +0800 Subject: [PATCH] fixed build error --- .../mariotaku/twidere/model/FiltersData.java | 0 twidere/build.gradle | 4 +- .../mariotaku/twidere/model/ListAction.java | 52 ------------------- 3 files changed, 2 insertions(+), 54 deletions(-) rename {twidere => twidere.component.common}/src/main/java/org/mariotaku/twidere/model/FiltersData.java (100%) delete mode 100644 twidere/src/main/java/org/mariotaku/twidere/model/ListAction.java diff --git a/twidere/src/main/java/org/mariotaku/twidere/model/FiltersData.java b/twidere.component.common/src/main/java/org/mariotaku/twidere/model/FiltersData.java similarity index 100% rename from twidere/src/main/java/org/mariotaku/twidere/model/FiltersData.java rename to twidere.component.common/src/main/java/org/mariotaku/twidere/model/FiltersData.java diff --git a/twidere/build.gradle b/twidere/build.gradle index 12345b8a4..8cced38af 100644 --- a/twidere/build.gradle +++ b/twidere/build.gradle @@ -35,8 +35,8 @@ android { applicationId "org.mariotaku.twidere" minSdkVersion 14 targetSdkVersion 25 - versionCode 229 - versionName '3.3.11' + versionCode 230 + versionName '3.3.12' multiDexEnabled true buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("true")' diff --git a/twidere/src/main/java/org/mariotaku/twidere/model/ListAction.java b/twidere/src/main/java/org/mariotaku/twidere/model/ListAction.java deleted file mode 100644 index 5abc93743..000000000 --- a/twidere/src/main/java/org/mariotaku/twidere/model/ListAction.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Twidere - Twitter client for Android - * - * Copyright (C) 2012-2014 Mariotaku Lee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package org.mariotaku.twidere.model; - -public abstract class ListAction { - - private final int order; - - public ListAction(final int order) { - this.order = order; - } - - public abstract String getName(); - - public int getOrder() { - return order; - } - - public String getSummary() { - return null; - } - - public void onClick() { - - } - - public boolean onLongClick() { - return false; - } - - @Override - public final String toString() { - return getName(); - } -}