From 965f1bdcae352237d503b049ce01e4c99c6e44a2 Mon Sep 17 00:00:00 2001 From: Boris Zentner Date: Tue, 17 Apr 2012 14:43:56 +0200 Subject: [PATCH] Release ccfd-api-java 1.49 --- Changes | 2 ++ README | 2 +- com/maxmind/ws/HTTPBase.java | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index bb28a90..7af70c1 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,6 @@ Revision history for MaxMind minFraud Java API +1.49 Februar 19th 2009 + - Add minfraud3.maxmind.com to the serverlist 1.48 October 3th 2008 - Add new fields user_agent and accept_language for CCFD ( Boris Zentner ) diff --git a/README b/README index b8853a5..9f12284 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Maxmind minFraud Java API Version 1.48 +Maxmind minFraud Java API Version 1.49 ================ Example programs diff --git a/com/maxmind/ws/HTTPBase.java b/com/maxmind/ws/HTTPBase.java index 47dc0e9..78a19f8 100644 --- a/com/maxmind/ws/HTTPBase.java +++ b/com/maxmind/ws/HTTPBase.java @@ -31,8 +31,8 @@ //import HttpTimeoutHandler; public class HTTPBase{ - int numservers = 2; - static String[] server = {"minfraud1.maxmind.com","minfraud2.maxmind.com"}; + int numservers = 3; + static String[] server = {"minfraud3.maxmind.com", "minfraud1.maxmind.com","minfraud2.maxmind.com"}; String url; public HashMap queries; public HashMap allowed_fields; @@ -266,7 +266,7 @@ boolean querySingleServer(String server) { query_data[n] = new NameValuePair(key,value); n++; } - query_data[n] = new NameValuePair("clientAPI","Java/1.48"); + query_data[n] = new NameValuePair("clientAPI","Java/1.49"); // scheme already has the name of the proctol // append the domain name of the server, url of the web service // and the query string to the string named url2