X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/3a82db451cfb855b7307d696214e51a02663f97b..c54d7e35d0efb3d1352ff6d1330cac185bef0a21:/src/com/owncloud/android/utils/DialogMenuItem.java diff --git a/src/com/owncloud/android/utils/DialogMenuItem.java b/src/com/owncloud/android/utils/DialogMenuItem.java index 3882c6d2..630085b3 100644 --- a/src/com/owncloud/android/utils/DialogMenuItem.java +++ b/src/com/owncloud/android/utils/DialogMenuItem.java @@ -1,3 +1,23 @@ +/** + * ownCloud Android client application + * + * @author Andy Scherzinger + * Copyright (C) 2015 ownCloud Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. + * + * 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 com.owncloud.android.utils; import android.content.Intent; @@ -12,16 +32,16 @@ import android.view.View; * Created by scherzia on 17.08.2015. */ public class DialogMenuItem implements MenuItem { - int itemId; - CharSequence title; + int mItemId; + CharSequence mTitle; public DialogMenuItem(int itemId) { - this.itemId = itemId; + this.mItemId = itemId; } @Override public int getItemId() { - return itemId; + return mItemId; } @Override @@ -36,7 +56,7 @@ public class DialogMenuItem implements MenuItem { @Override public MenuItem setTitle(CharSequence title) { - this.title = title; + this.mTitle = title; return this; } @@ -47,7 +67,7 @@ public class DialogMenuItem implements MenuItem { @Override public CharSequence getTitle() { - return this.title; + return this.mTitle; } @Override