<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,6 +33,11 @@
       &lt;version&gt;3.8.1&lt;/version&gt;
       &lt;scope&gt;test&lt;/scope&gt;
     &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;com.google.code.findbugs&lt;/groupId&gt;
+      &lt;artifactId&gt;annotations&lt;/artifactId&gt;
+      &lt;version&gt;1.3.8&lt;/version&gt;
+    &lt;/dependency&gt;    
   &lt;/dependencies&gt;
   
   &lt;pluginRepositories&gt;
@@ -68,8 +73,8 @@
       &lt;plugin&gt;
         &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
         &lt;configuration&gt;
-          &lt;source&gt;1.4&lt;/source&gt;
-          &lt;target&gt;1.4&lt;/target&gt;
+          &lt;source&gt;1.6&lt;/source&gt;
+          &lt;target&gt;1.6&lt;/target&gt;
         &lt;/configuration&gt;
       &lt;/plugin&gt;
       &lt;plugin&gt;
@@ -98,7 +103,14 @@
       &lt;plugin&gt;
         &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
         &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
-        &lt;version&gt;2.0-SNAPSHOT&lt;/version&gt;
+        &lt;version&gt;2.1&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;effort&gt;Max&lt;/effort&gt;
+          &lt;threshold&gt;Low&lt;/threshold&gt;
+          &lt;debug&gt;false&lt;/debug&gt;
+          &lt;failOnError&gt;true&lt;/failOnError&gt;
+          &lt;maxHeap&gt;512&lt;/maxHeap&gt;
+        &lt;/configuration&gt;
         &lt;executions&gt;
           &lt;execution&gt;
             &lt;id&gt;findbugs&lt;/id&gt;
@@ -157,7 +169,7 @@
         &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
         &lt;artifactId&gt;maven-pmd-plugin&lt;/artifactId&gt;
         &lt;configuration&gt;
-          &lt;targetJdk&gt;1.4&lt;/targetJdk&gt;
+          &lt;targetJdk&gt;1.6&lt;/targetJdk&gt;
         &lt;/configuration&gt;
       &lt;/plugin&gt;
       &lt;plugin&gt;
@@ -171,7 +183,14 @@
       &lt;plugin&gt;
         &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
         &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
-        &lt;version&gt;2.0-SNAPSHOT&lt;/version&gt;
+        &lt;version&gt;2.1&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;effort&gt;Max&lt;/effort&gt;
+          &lt;threshold&gt;Low&lt;/threshold&gt;
+          &lt;debug&gt;false&lt;/debug&gt;
+          &lt;failOnError&gt;true&lt;/failOnError&gt;
+          &lt;maxHeap&gt;512&lt;/maxHeap&gt;
+        &lt;/configuration&gt;        
       &lt;/plugin&gt;
     &lt;/plugins&gt;
   &lt;/reporting&gt;</diff>
      <filename>pom.xml</filename>
    </modified>
    <modified>
      <diff>@@ -42,8 +42,8 @@ public class SphinxClient {
 	private static final int EXCEPTS_SINGLE_PASSAGE_FLAG = 4;
 	private static final int EXCEPTS_EXACT_PHASE_FLAG = 2;
 
-	private static final Integer DEFAULT_EXCEPTS_AROUND = new Integer(5);
-	private static final Integer DEFAULT_EXCEPTS_LIMIT = new Integer(256);
+	private static final Integer DEFAULT_EXCEPTS_AROUND =  Integer.valueOf(5);
+	private static final Integer DEFAULT_EXCEPTS_LIMIT = Integer.valueOf(256);
 	private static final float MILLSEC_IN_SEC = 1000.0f;
 	private static final int DEFAULT_LIMIT = 20;
 	private static final int DEFAULT_SEARCHD_PORT = 3312;
@@ -1313,14 +1313,14 @@ public class SphinxClient {
 
 						/* handle bigints */
 						if (type == SPH_ATTR_BIGINT) {
-							docInfo.addAttribute(attrNumber, new Long(in
+							docInfo.addAttribute(attrNumber, Long.valueOf(in
 									.readLong()));
 							continue;
 						}
 
 						/* handle floats */
 						if (type == SPH_ATTR_FLOAT) {
-							docInfo.addAttribute(attrNumber, new Float(in
+							docInfo.addAttribute(attrNumber, Float.valueOf(in
 									.readFloat()));
 							continue;
 						}
@@ -1334,7 +1334,7 @@ public class SphinxClient {
 							}
 							docInfo.addAttribute(attrNumber, vals);
 						} else {
-							docInfo.addAttribute(attrNumber, new Long(val));
+							docInfo.addAttribute(attrNumber, Long.valueOf(val));
 						}
 					}
 					res.matches[matchesNo] = docInfo;
@@ -1405,16 +1405,16 @@ public class SphinxClient {
 			opts.put(&quot;around&quot;, DEFAULT_EXCEPTS_AROUND);
 		}
 		if (!opts.containsKey(&quot;exact_phrase&quot;)) {
-			opts.put(&quot;exact_phrase&quot;, new Integer(0));
+			opts.put(&quot;exact_phrase&quot;, Integer.valueOf(0));
 		}
 		if (!opts.containsKey(&quot;single_passage&quot;)) {
-			opts.put(&quot;single_passage&quot;, new Integer(0));
+			opts.put(&quot;single_passage&quot;, Integer.valueOf(0));
 		}
 		if (!opts.containsKey(&quot;use_boundaries&quot;)) {
-			opts.put(&quot;use_boundaries&quot;, new Integer(0));
+			opts.put(&quot;use_boundaries&quot;, Integer.valueOf(0));
 		}
 		if (!opts.containsKey(&quot;weight_order&quot;)) {
-			opts.put(&quot;weight_order&quot;, new Integer(0));
+			opts.put(&quot;weight_order&quot;, Integer.valueOf(0));
 		}
 
 		/* build request */</diff>
      <filename>src/main/java/org/sphx/api/SphinxClient.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c49db3b5ad61b4495b09322645f2641c1d18a494</id>
    </parent>
  </parents>
  <author>
    <name>Roman Dmytrenko</name>
    <email>erka@kpumuk.info</email>
  </author>
  <url>http://github.com/erka/sphinx-java-api/commit/79092cebad9e9e703b46ef312a381dd4ecc7c56d</url>
  <id>79092cebad9e9e703b46ef312a381dd4ecc7c56d</id>
  <committed-date>2009-10-16T10:52:18-07:00</committed-date>
  <authored-date>2009-10-16T10:52:18-07:00</authored-date>
  <message>switch project to Java 6</message>
  <tree>6375951b439a977c27b60dbba3303cdb7659c022</tree>
  <committer>
    <name>Roman Dmytrenko</name>
    <email>erka@kpumuk.info</email>
  </committer>
</commit>
