mirror of
				https://github.com/pierre42100/ComunicAndroid
				synced 2025-11-04 11:34:06 +00:00 
			
		
		
		
	Removed redundant casting
This commit is contained in:
		@@ -30,7 +30,7 @@ public class PDFActivity extends AppCompatActivity {
 | 
			
		||||
        setContentView(R.layout.activity_pdf);
 | 
			
		||||
 | 
			
		||||
        //Get and setup WebView
 | 
			
		||||
        mWebView = (WebView) findViewById(R.id.webview);
 | 
			
		||||
        mWebView = findViewById(R.id.webview);
 | 
			
		||||
        mWebView.getSettings().setJavaScriptEnabled(true);
 | 
			
		||||
        mWebView.getSettings().setAllowFileAccess(false);
 | 
			
		||||
        mWebView.getSettings().setAllowFileAccessFromFileURLs(false);
 | 
			
		||||
 
 | 
			
		||||
@@ -65,8 +65,8 @@ public class SearchUserActivity extends AppCompatActivity
 | 
			
		||||
        getUsersHelper = new GetUsersHelper(this, DatabaseHelper.getInstance(this));
 | 
			
		||||
 | 
			
		||||
        //Get view
 | 
			
		||||
        searchField = (EditText) findViewById(R.id.activity_search_user_field);
 | 
			
		||||
        resultListView = (ListView) findViewById(R.id.activity_search_user_results);
 | 
			
		||||
        searchField = findViewById(R.id.activity_search_user_field);
 | 
			
		||||
        resultListView = findViewById(R.id.activity_search_user_results);
 | 
			
		||||
 | 
			
		||||
        //Set on key listener
 | 
			
		||||
        searchField.addTextChangedListener(this);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user