Buggy code:
public class ConnectionManager extends Application { private final String url = "https:////www.zeeguu.unibe.ch//" ; private RequestQueue mRequestQueue ; private ProgressDialog pDialog ; private AlertDialog aDialog ; private SharedPreferences settings ; private static final boolean debugOn = true ; private static final String tag_wordlist_Req = "tag_wordlist_id" ; private static final String tag_SessionID_Req = "tag_session_id" ; private static final String tag_language_Req = "tag_language_id" ; private static final String TAG = "tag_logging" ; private String email ; private String pw ; private String session_id ; private String native_language ; private String learning_language ; private static ConnectionManager instance ; private static Activity activity ; private static ArrayList < Item > wordList ; private static EditText translationEditText ; public ConnectionManager ( Activity activity ) { } public void updateUserInformation ( ) { } @ Override public void onCreate ( ) { } public static ConnectionManager getConnectionManager ( Activity activity ) { } private void getLoginInformation ( ) { } public boolean userHasSessionId ( ) { } public boolean userHasLoginInfo ( ) { } public static synchronized ConnectionManager getInstance ( ) { } public RequestQueue getRequestQueue ( ) { } public < T > void addToRequestQueue ( Request < T > req , String tag ) { } public < T > void addToRequestQueue ( Request < T > req ) { } public void cancelAllPendingRequests ( ) { } public void cancelPendingRequests ( Object tag ) { } public void getSessionIdFromServer ( ) { } public void getAllWordsFromServer ( ) { } public void getUserLanguageFromServer ( ) { } public void setUserLanguageOnServer ( ) { } public String getSessionId ( ) { } public void getTranslation ( String text , EditText translationView ) { <START_BUG> if ( ! ( userHasLoginInfo ( ) ) ) <END_BUG> return ; text = text . replaceAll ( "\\s+" , "%20" ) ; String url_translation = ( ( ( ( ( ( ( ( url ) + "goslate_from_to//" ) + text ) + "//" ) + ( native_language ) ) + "//" ) + ( learning_language ) ) + "?session=" ) + ( session_id ) ; ConnectionManager . translationEditText = translationView ; createLoadingDialog ( ) ; StringRequest strReq = new StringRequest ( Method . GET , url_translation , new Response . Listener < String > ( ) { @ Override public void onResponse ( String response ) { ConnectionManager . translationEditText . setText ( response . toString ( ) ) ; } } , new Response . ErrorListener ( ) { @ Override public void onErrorResponse ( VolleyError error ) { logging ( ConnectionManager . TAG , error . toString ( ) ) ; dismissDialog ( ) ; } } ) ; this . addToRequestQueue ( strReq , ConnectionManager . tag_SessionID_Req ) ; } public static ArrayList < Item > getWordList ( ) { } public String getNative_language ( ) { } public void setNative_language ( String native_language ) { } public String getLearning_language ( ) { } public void setLearning_language ( String learning_language ) { } private void logging ( String tag , String message ) { } private void createLoadingDialog ( ) { } private void dismissDialog ( ) { } }

Fix:
if ( ( ! ( userHasLoginInfo ( ) ) ) || ( text . equals ( "" ) ) )