Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed methods that should have been static #132

Merged
merged 1 commit into from
Oct 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/com/bugsnag/android/Bugsnag.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void setAppVersion(final String appVersion) {
* Gets the context to be sent to Bugsnag.
* @return Context
*/
public String getContext() {
public static String getContext() {
return getClient().getContext();
}

Expand Down Expand Up @@ -218,7 +218,7 @@ public static void setUser(final String id, final String email, final String nam
/**
* Removes the current user data and sets it back to defaults
*/
public void clearUser() {
public static void clearUser() {
getClient().clearUser();
}

Expand Down