diff --git a/Yavsc/GoogleApis/MapTracks.cs b/Yavsc/GoogleApis/MapTracks.cs index 94132bf2..9ce21ad6 100644 --- a/Yavsc/GoogleApis/MapTracks.cs +++ b/Yavsc/GoogleApis/MapTracks.cs @@ -55,10 +55,11 @@ namespace Yavsc.GoogleApis /// Entities. public static string [] CreateEntity( Entity[] entities ) { string [] ans = null; - using (SimpleJsonPostMethod< Entity[] ,string []> wr = - new SimpleJsonPostMethod< Entity[] ,string[]> (googleMapTracksPath + "entities/create")) + + using (SimpleJsonPostMethod wr = + new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) { - ans = wr.Invoke (entities); + ans = wr.Invoke (entities); } return ans; } @@ -71,10 +72,10 @@ namespace Yavsc.GoogleApis static Entity[] ListEntities (EntityQuery eq) { Entity [] ans = null; - using (SimpleJsonPostMethod wr = - new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) + using (SimpleJsonPostMethod wr = + new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) { - ans = wr.Invoke (eq); + ans = wr.Invoke (eq); } return ans; }