Skip to content

Commit 18dd997

Browse files
committed
Remove appcompat-v7 from dependencies
1 parent 2b0175f commit 18dd997

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.idea/modules.xml

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ android {
2828
dependencies {
2929
compile fileTree(dir: 'libs', include: ['*.jar'])
3030
testCompile 'junit:junit:4.12'
31-
compile 'com.android.support:appcompat-v7:23.3.0'
3231
compile 'io.reactivex:rxjava:1.1.0'
3332

3433
// Supported transports

lib/src/main/java/ua/naiksoftware/stomp/LifecycleEvent.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package ua.naiksoftware.stomp;
22

3-
import android.support.annotation.Nullable;
43

54
/**
65
* Created by naik on 05.05.16.
@@ -13,22 +12,22 @@ public enum Type {
1312

1413
private final Type mType;
1514

16-
@Nullable
15+
//Nullable
1716
private Exception mException;
1817

19-
@Nullable
18+
//Nullable
2019
private String mMessage;
2120

2221
public LifecycleEvent(Type type) {
2322
mType = type;
2423
}
2524

26-
public LifecycleEvent(Type type, @Nullable Exception exception) {
25+
public LifecycleEvent(Type type, Exception exception) {
2726
mType = type;
2827
mException = exception;
2928
}
3029

31-
public LifecycleEvent(Type type, @Nullable String message) {
30+
public LifecycleEvent(Type type, String message) {
3231
mType = type;
3332
mMessage = message;
3433
}
@@ -37,12 +36,10 @@ public Type getType() {
3736
return mType;
3837
}
3938

40-
@Nullable
4139
public Exception getException() {
4240
return mException;
4341
}
4442

45-
@Nullable
4643
public String getMessage() {
4744
return mMessage;
4845
}

0 commit comments

Comments
 (0)