HAYASHI Kentaro
null+****@clear*****
Mon Nov 12 13:10:03 JST 2012
HAYASHI Kentaro 2012-11-12 13:10:03 +0900 (Mon, 12 Nov 2012) New Revision: e83bc8e4dc034b5a9a873f37bd19afd71eeffab6 https://github.com/groonga/groonga/commit/e83bc8e4dc034b5a9a873f37bd19afd71eeffab6 Log: test: remove needless code Modified files: test/command/tools/geo/generate-grntest-data.rb Modified: test/command/tools/geo/generate-grntest-data.rb (+0 -2) =================================================================== --- test/command/tools/geo/generate-grntest-data.rb 2012-11-12 11:51:23 +0900 (fa5bd22) +++ test/command/tools/geo/generate-grntest-data.rb 2012-11-12 13:10:03 +0900 (144791c) @@ -572,8 +572,6 @@ class GrnTestData @latitude_end.to_i) (east_distance + west_distance).floor when "1st_to_4th", "4th_to_1st", "2nd_to_3rd", "3rd_to_2nd" - longitude_delta = @longitude_end_degree - @longitude_start_degree - latitude_delta = @latitude_end_degree - @latitude_start_degree if @latitude_end_degree > @latitude_start_degree calculate_distance(@longitude_start.to_i, @latitude_start.to_i, -------------- next part -------------- HTML����������������������������... Descargar