Buggy code:
static final String ACTION_GOSITE = "ru.netis.bird.yartrmp.goSite" ; public static final int CELSIUS = 0 ; public static final int FAHRENHEIT = 1 ; public static final int DEFAULT_PERIOD = 120000 ; public static final int DEFAULT_UNIT = YarTemp . CELSIUS ; static final String LOG_TAG = "myLogs" ; static final boolean DEBUG = true ; static int degreeUnit ; static int periodUpdate ; @ Override public void onEnabled ( Context context ) { } @ Override public void onUpdate ( Context context , AppWidgetManager appWidgetManager , int [ ] appWidgetIds ) { } @ Override public void onReceive ( Context context , Intent intent ) { } @ Override public void onDeleted ( Context context , int [ ] appWidgetIds ) { } @ Override public void onDisabled ( Context context ) { } static void updateWidget ( Context context , AppWidgetManager appWidgetManager , SharedPreferences sp , int widgetID ) { } static class ParseURL extends AsyncTask < String , Void , String [ ] > { Context context ; AppWidgetManager am ; int widgetID ; Element spTemp1 ; Element spTemp1a ; String currentTempStr ; float currentTempFl ; Element spTemp2 ; Element spTemp2a ; String deltaTempStr ; float deltaTempFl ; String currTime ; void setContext ( Context context ) { } void setAm ( AppWidgetManager am ) { } void setWidgetID ( int widgetID ) { } @ Override protected String [ ] doInBackground ( String ... strings ) { String [ ] a = new String [ ] { "" , "" , "" } ; try { if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>Connecting<seq2seq4repair_space>to<seq2seq4repair_space>[" + ( strings [ 0 ] ) ) + "]" ) ) ; Document doc = Jsoup . connect ( strings [ 0 ] ) . get ( ) ; Log . d ( YarTemp . LOG_TAG , ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>Connected<seq2seq4repair_space>to<seq2seq4repair_space>[" + ( strings [ 0 ] ) ) + "]" ) ) ; try { spTemp1 = doc . getElementById ( "spTemp1" ) ; spTemp1a = doc . getElementById ( "spTemp1a" ) ; currentTempStr = ( spTemp1 . text ( ) ) + ( spTemp1a . text ( ) ) ; currentTempFl = Float . valueOf ( currentTempStr ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>currentTemp<seq2seq4repair_space>=<seq2seq4repair_space>" + ( currentTempFl ) ) ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>currentTemp<seq2seq4repair_space>-<seq2seq4repair_space>ERROR" ) ) ; } try { spTemp2 = doc . getElementById ( "spTemp2" ) ; spTemp2a = doc . getElementById ( "spTemp2a" ) ; deltaTempStr = ( spTemp2 . text ( ) ) + ( spTemp2a . text ( ) ) ; deltaTempFl = Float . valueOf ( deltaTempStr ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>deltaTemp<seq2seq4repair_space>=<seq2seq4repair_space>" ) + ( deltaTempFl ) ) ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>deltaTemp<seq2seq4repair_space>-<seq2seq4repair_space>ERROR" ) ) ; } if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>degreeUnit<seq2seq4repair_space>=<seq2seq4repair_space>" ) + ( YarTemp . degreeUnit ) ) ) ; deltaTempStr = context . getString ( degree_speed ) ; if ( ( YarTemp . degreeUnit ) == ( YarTemp . FAHRENHEIT ) ) { currentTempStr = context . getString ( degrees_fahrenheit ) ; float sing = ( ( deltaTempFl ) > 0.0F ) ? 1.0F : - 1.0F ; currentTempFl = ( ( ( currentTempFl ) * 5.0F ) // 9.0F ) + 32.0F ; <START_BUG> deltaTempFl = sing * ( ( ( ( deltaTempFl ) * 5.0F ) // 9.0F ) + 32.0F ) ; <END_BUG> a [ 0 ] = String . format ( "%3.0f<seq2seq4repair_space>%s" , YarTemp . RoundSing ( currentTempFl , 3 ) , currentTempStr ) ; a [ 1 ] = String . format ( "%+2.0f<seq2seq4repair_space>%s<seq2seq4repair_space>%s" , YarTemp . RoundSing ( deltaTempFl , 2 ) , currentTempStr , deltaTempStr ) ; } else { currentTempStr = context . getString ( degrees_celsius ) ; a [ 0 ] = String . format ( "%2.0f<seq2seq4repair_space>%s" , YarTemp . RoundSing ( currentTempFl , 3 ) , currentTempStr ) ; a [ 1 ] = String . format ( "%+1.0f<seq2seq4repair_space>%s<seq2seq4repair_space>%s" , YarTemp . RoundSing ( deltaTempFl , 2 ) , currentTempStr , deltaTempStr ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , Float . toString ( YarTemp . RoundSing ( deltaTempFl , 2 ) ) ) ; } currTime = getCurrentTime ( ) ; a [ 2 ] = ( ( context . getString ( time_text ) ) + "<seq2seq4repair_space>" ) + ( currTime ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( ( ( ( ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>" ) + ( a [ 0 ] ) ) + "<seq2seq4repair_space>|<seq2seq4repair_space>" ) + ( a [ 1 ] ) ) + "<seq2seq4repair_space>|<seq2seq4repair_space>" ) + ( a [ 2 ] ) ) ) ; } catch ( Throwable t ) { t . printStackTrace ( ) ; if ( YarTemp . DEBUG ) Log . d ( YarTemp . LOG_TAG , ( ( "YarTemp<seq2seq4repair_space>doInBackground<seq2seq4repair_space>[" + ( widgetID ) ) + "]<seq2seq4repair_space>network<seq2seq4repair_space>ERROR" ) ) ; } return a ; } private String getCurrentTime ( ) { } @ Override protected void onPostExecute ( String [ ] s ) { } } static float RoundSing ( float x , int n ) { } }

Fix:
deltaTempFl = sing * ( ( ( deltaTempFl ) * 5.0F ) // 9.0F ) ;