Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas
Fedilab
Commits
c968c824
Commit
c968c824
authored
May 07, 2020
by
Thomas
Browse files
Some cleaning
parent
47ecdd8e
Pipeline
#298684
passed with stage
in 4 minutes and 5 seconds
Changes
38
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/app/fedilab/android/activities/EditProfileActivity.java
View file @
c968c824
...
...
@@ -315,7 +315,7 @@ public class EditProfileActivity extends BaseActivity implements OnRetrieveAccou
getIntent
.
setType
(
"image/*"
);
Intent
pickIntent
=
new
Intent
(
Intent
.
ACTION_PICK
);
pickIntent
.
setDataAndType
(
android
.
provider
.
MediaStore
.
Images
.
Media
.
EXTERNAL_CONTENT_URI
,
"image/*"
);
pickIntent
.
setDataAndType
(
android
.
provider
.
MediaStore
.
Images
.
Media
.
EXTERNAL_CONTENT_URI
,
"image/*"
);
Intent
chooserIntent
=
Intent
.
createChooser
(
getIntent
,
getString
(
R
.
string
.
toot_select_image
));
chooserIntent
.
putExtra
(
Intent
.
EXTRA_INITIAL_INTENTS
,
new
Intent
[]{
pickIntent
});
...
...
app/src/main/java/app/fedilab/android/client/Entities/AccountAdmin.java
View file @
c968c824
...
...
@@ -52,7 +52,7 @@ public class AccountAdmin implements Parcelable {
public
AccountAdmin
()
{
}
pr
otec
te
d
AccountAdmin
(
Parcel
in
)
{
pr
iva
te
AccountAdmin
(
Parcel
in
)
{
this
.
id
=
in
.
readString
();
this
.
username
=
in
.
readString
();
long
tmpCreated_at
=
in
.
readLong
();
...
...
app/src/main/java/app/fedilab/android/client/Entities/AccountCreation.java
View file @
c968c824
...
...
@@ -45,6 +45,7 @@ public class AccountCreation {
this
.
password
=
password
;
}
@SuppressWarnings
(
"unused"
)
public
String
getPasswordConfirm
()
{
return
passwordConfirm
;
}
...
...
app/src/main/java/app/fedilab/android/client/Entities/Announcement.java
View file @
c968c824
...
...
@@ -16,6 +16,7 @@ package app.fedilab.android.client.Entities;
import
java.util.Date
;
@SuppressWarnings
(
"unused"
)
public
class
Announcement
extends
Status
{
private
Date
startAt
;
private
Date
endAt
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/Attachment.java
View file @
c968c824
...
...
@@ -22,6 +22,7 @@ import android.os.Parcelable;
* Manages Media
*/
@SuppressWarnings
(
"unused"
)
public
class
Attachment
implements
Parcelable
{
public
static
final
Creator
<
Attachment
>
CREATOR
=
new
Creator
<
Attachment
>()
{
...
...
app/src/main/java/app/fedilab/android/client/Entities/Card.java
View file @
c968c824
...
...
@@ -25,6 +25,7 @@ import android.os.Parcelable;
* All values are not implemented
*/
@SuppressWarnings
(
"unused"
)
public
class
Card
implements
Parcelable
{
public
static
final
Creator
<
Card
>
CREATOR
=
new
Creator
<
Card
>()
{
...
...
app/src/main/java/app/fedilab/android/client/Entities/Charts.java
View file @
c968c824
...
...
@@ -18,6 +18,7 @@ import java.util.List;
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
@SuppressWarnings
(
"unused"
)
public
class
Charts
{
private
List
<
String
>
xLabels
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/Emojis.java
View file @
c968c824
...
...
@@ -41,7 +41,6 @@ public class Emojis implements Parcelable {
private
String
url
;
private
boolean
visible_in_picker
;
private
Drawable
drawable
;
private
boolean
drawableFound
;
public
Emojis
()
{
}
...
...
@@ -106,11 +105,4 @@ public class Emojis implements Parcelable {
this
.
drawable
=
drawable
;
}
public
boolean
isDrawableFound
()
{
return
drawableFound
;
}
public
void
setDrawableFound
(
boolean
drawableFound
)
{
this
.
drawableFound
=
drawableFound
;
}
}
app/src/main/java/app/fedilab/android/client/Entities/Filters.java
View file @
c968c824
...
...
@@ -23,6 +23,7 @@ import java.util.Date;
* Manage filters
*/
@SuppressWarnings
(
"unused"
)
public
class
Filters
{
private
String
id
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/HowToVideo.java
View file @
c968c824
...
...
@@ -18,6 +18,7 @@ package app.fedilab.android.client.Entities;
* Created by Thomas on 29/09/2018.
* Manage how to videos
*/
@SuppressWarnings
(
"unused"
)
public
class
HowToVideo
{
private
String
id
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/Instance.java
View file @
c968c824
...
...
@@ -21,6 +21,7 @@ import java.util.HashMap;
* Describes instance
*/
@SuppressWarnings
(
"unused"
)
public
class
Instance
{
private
String
uri
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/InstanceNodeInfo.java
View file @
c968c824
...
...
@@ -14,6 +14,7 @@
* see <http://www.gnu.org/licenses>. */
package
app.fedilab.android.client.Entities
;
@SuppressWarnings
(
"unused"
)
public
class
InstanceNodeInfo
{
private
String
name
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/InstanceReg.java
View file @
c968c824
...
...
@@ -14,6 +14,7 @@ package app.fedilab.android.client.Entities;
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
@SuppressWarnings
(
"unused"
)
public
class
InstanceReg
{
private
String
domain
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/InstanceSocial.java
View file @
c968c824
...
...
@@ -21,6 +21,7 @@ import java.util.Date;
* Describes instance from instances.social
*/
@SuppressWarnings
(
"unused"
)
public
class
InstanceSocial
{
private
String
id
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/NodeInfo.java
View file @
c968c824
...
...
@@ -14,6 +14,7 @@
* see <http://www.gnu.org/licenses>. */
package
app.fedilab.android.client.Entities
;
@SuppressWarnings
(
"unused"
)
public
class
NodeInfo
{
private
String
rel
;
private
String
href
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/Notification.java
View file @
c968c824
...
...
@@ -43,8 +43,6 @@ public class Notification implements Parcelable {
private
Date
created_at
;
private
Account
account
;
private
Status
status
;
private
boolean
notificationAnimated
=
false
;
private
boolean
isEmojiFound
=
false
;
protected
Notification
(
Parcel
in
)
{
id
=
in
.
readString
();
...
...
@@ -115,19 +113,5 @@ public class Notification implements Parcelable {
return
otherNotifications
!=
null
&&
(
otherNotifications
==
this
||
otherNotifications
instanceof
Notification
&&
this
.
getId
().
equals
(((
Notification
)
otherNotifications
).
getId
()));
}
public
boolean
isNotificationAnimated
()
{
return
notificationAnimated
;
}
public
void
setNotificationAnimated
(
boolean
notificationAnimated
)
{
this
.
notificationAnimated
=
notificationAnimated
;
}
public
boolean
isEmojiFound
()
{
return
isEmojiFound
;
}
public
void
setEmojiFound
(
boolean
emojiFound
)
{
isEmojiFound
=
emojiFound
;
}
}
app/src/main/java/app/fedilab/android/client/Entities/NotificationCharts.java
View file @
c968c824
...
...
@@ -18,6 +18,7 @@ import java.util.List;
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
@SuppressWarnings
(
"unused"
)
public
class
NotificationCharts
{
private
List
<
String
>
xLabels
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/Peertube.java
View file @
c968c824
...
...
@@ -25,6 +25,7 @@ import java.util.List;
* Created by Thomas on 29/09/2018.
* Manage how to videos
*/
@SuppressWarnings
(
"unused"
)
public
class
Peertube
{
private
String
id
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/PeertubeComment.java
View file @
c968c824
...
...
@@ -18,6 +18,7 @@ package app.fedilab.android.client.Entities;
* Created by Thomas on 23/01/2019.
* Manage Peertube comments
*/
@SuppressWarnings
(
"unused"
)
public
class
PeertubeComment
{
private
String
id
;
...
...
app/src/main/java/app/fedilab/android/client/Entities/PeertubeNotification.java
View file @
c968c824
...
...
@@ -21,6 +21,7 @@ import java.util.Date;
* Created by Thomas on 23/01/2019.
*/
@SuppressWarnings
(
"unused"
)
public
class
PeertubeNotification
{
private
String
id
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment