Skip to content

Commit

Permalink
Remove unnecessary instance from Burnd Application
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdibaha committed Jul 27, 2015
1 parent 2d7d037 commit 3e235d6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/src/main/java/com/insa/burnd/utils/Burnd.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@
// Used in this project to deal with all connections in the app, for instance.

public class Burnd extends Application {
private static Burnd instance;
private static Context appContext;

@Override
public void onCreate() {
super.onCreate();
instance = this;

this.setAppContext(getApplicationContext());
}

public static Burnd getInstance() {
return instance;
}

public static Context getAppContext() {
return appContext;
}
Expand Down

0 comments on commit 3e235d6

Please sign in to comment.