This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<Integer, Integer> Result= new HashMap<>(); | |
| int condition = Math.max(sample.size(), fileTwo.size()); | |
| for(int counter=1; counter<=condition; counter++) | |
| { | |
| int match=0; | |
| for(String fileTwoPostionValue : fileTwo.get(String.valueOf(counter))) | |
| { | |
| if(sample.get(String.valueOf(counter)).contains(fileTwoPostionValue)) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void updateSubtitle() { | |
| StringBuilder resultText = new StringBuilder(); | |
| for(String key : subtitles.keySet()){ | |
| String keyText = subtitles.get(key) + "\n"; | |
| resultText.append(keyText); | |
| } | |
| mapSubtitle.setText(resultText.substring(0, resultText.length() -1)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.RuntimeException: Method from in android.view.LayoutInflater not mocked. See http://g.co/androidstudio/not-mocked for details. | |
| at android.view.LayoutInflater.from(LayoutInflater.java) | |
| at neocom.dealerbook.views.LayerView.<init>(LayerView.java:174) | |
| at neocom.dealerbook.views.LayerView.<init>(LayerView.java:125) | |
| at neocom.dealerbook.views.LayerView.<init>(LayerView.java:33) | |
| at neocom.dealerbook.views.LayerView$Builder.build(LayerView.java:101) | |
| at LayerViewBuilderTest.test_addSelector(LayerViewBuilderTest.java:24) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| LOC.NR_GEO_LCL as IdLocalidade, | |
| cast(ROUND(IsNull(SUM(FAT.QT_DNC_VND), 0), 0) * -1 as decimal(15,6)) as Valor | |
| FROM FATO_AGG_SEG FAT (nolock) | |
| JOIN DIMENSAO_LOCALIDADE LOC (nolock) ON LOC.SK_DIM_LCL = FAT.SK_DIM_LCL | |
| JOIN DIMENSAO_TEMPO TMP (nolock) ON TMP.SK_DIM_TMP = FAT.SK_DIM_TMP | |
| AND TMP.NR_NVL_RSU = 2 | |
| AND TMP.AN_MM between 201501 and 201512 | |
| JOIN DIMENSAO_SEGMENTO SEG with(nolock) | |
| ON SEG.SK_DIM_SGM = FAT.SK_DIM_SGM AND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private boolean initMap() { | |
| if (mMap == null) { | |
| //mMap = new GigMobileMap(mMapView.getExtendedMap()); | |
| mMapView.getExtendedMapAsync(new OnMapReadyCallback() { | |
| @Override | |
| public void onMapReady(GoogleMap googleMap) { | |
| GigMobileMap tmpMap = new GigMobileMap(googleMap); | |
| MapsInitializer.initialize(getActivity()); | |
| tmpMap.initMap(getActivity(), mapListener); | |
| mMap = tmpMap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 05-05 11:18:25.498 12518-12722/neocom.dealerbook E/AndroidRuntime: FATAL EXCEPTION: Retrofit-Idle | |
| Process: neocom.dealerbook, PID: 12518 | |
| java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.getMessage()' on a null object reference | |
| at retrofit.CallbackRunnable.run(CallbackRunnable.java:50) | |
| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) | |
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) | |
| at retrofit.Platform$Android$2$1.run(Platform.java:142) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => Booting WEBrick | |
| => Rails 4.1.13 application starting in development on http://0.0.0.0:3000 | |
| => Run `rails server -h` for more startup options | |
| => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) | |
| => Ctrl-C to shutdown server | |
| Started GET "/" for 127.0.0.1 at 2016-05-02 17:32:43 -0300 | |
| [1m[36mSQL (6.9ms)[0m [1mUSE [GL][0m | |
| [1m[35mActiveRecord::SchemaMigration Load (12.0ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package neocom.dealerbook.fragments; | |
| import android.app.AlertDialog; | |
| import android.app.Dialog; | |
| import android.os.Bundle; | |
| import android.support.v4.app.DialogFragment; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import neocom.dealerbook.R; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package neocom.dealerbook.models.layer.dataAdapter; | |
| import com.cocoahero.android.geojson.FeatureCollection; | |
| import com.google.android.gms.maps.model.LatLng; | |
| import com.google.android.gms.maps.model.LatLngBounds; | |
| import com.google.maps.android.heatmaps.WeightedLatLng; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.cocoahero.android.geojson.FeatureCollection; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; | |
| import org.junit.Before; | |
| import org.junit.BeforeClass; | |
| import org.junit.Test; | |
| import org.mockito.internal.util.io.IOUtil; | |
| import java.io.BufferedReader; |