jsydow / swp-dv-ws2010-osm-1

Automatically exported from code.google.com/p/swp-dv-ws2010-osm-1
0 stars 0 forks source link

Variables can be made ​​final. #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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>

Original issue reported on code.google.com by jdswpdat on 21 Mar 2011 at 10:30

GoogleCodeExporter commented 9 years ago
Code is in progress and not final yet.  The variable will be dynamic in the 
futur.

Original comment by SakirS...@gmail.com on 21 Mar 2011 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by SakirS...@gmail.com on 22 Mar 2011 at 1:03