My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 47: Variables can be made ​​final.
  Back to list
Status:  Invalid
Owner:  greentra...@googlemail.com
Closed:  Mar 2011


 
Reported by jdswpdat, Mar 21, 2011
In gui.view.HelpWebView.onCreate()

Make variables final:

Instead of:

<code:java>
String language = "de";
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_webviewactivity);

WebView webview;
webview = (WebView) findViewById(R.id.wv_helpwebviewActivity_webview);
</code>

do

<code:java>
final String language = "de";
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_webviewactivity);

final WebView webview = (WebView) findViewById(R.id.wv_helpwebviewActivity_webview);
</code>

Mar 21, 2011
Project Member #1 SakirS...@gmail.com
Code is in progress and not final yet.  The variable will be dynamic in the futur.
Status: Accepted
Owner: greentra...@googlemail.com
Mar 22, 2011
Project Member #2 SakirS...@gmail.com
(No comment was entered for this change.)
Status: Invalid

Powered by Google Project Hosting