Index: tika-core/src/main/java/org/apache/tika/language/LanguageIdentifier.java
===================================================================
--- tika-core/src/main/java/org/apache/tika/language/LanguageIdentifier.java	(revision 1029556)
+++ tika-core/src/main/java/org/apache/tika/language/LanguageIdentifier.java	(revision )
@@ -52,6 +52,7 @@
     private static final String PROPERTIES_OVERRIDE_FILE = "tika.language.override.properties";
     private static final String PROPERTIES_FILE = "tika.language.properties";
     private static final String LANGUAGES_KEY = "languages";
+    private static final double CERTAINTY_LIMIT = 0.022;
 
     private final String language;
 
@@ -99,7 +100,7 @@
     /**
      * Adds a single language profile
      * @param language an ISO 639 code representing language
-     * @param profile
+     * @param profile the language profile
      */
     public static void addProfile(String language, LanguageProfile profile) {
         PROFILES.put(language, profile);
@@ -107,7 +108,7 @@
     
     /**
      * Constructs a language identifier based on a LanguageProfile
-     * @param profile
+     * @param profile the language profile
      */
     public LanguageIdentifier(LanguageProfile profile) {
         String minLanguage = "unknown";
@@ -126,7 +127,7 @@
 
     /**
      * Constructs a language identifier based on a String of text content
-     * @param content
+     * @param content the text
      */
     public LanguageIdentifier(String content) {
         this(new LanguageProfile(content));
@@ -144,10 +145,10 @@
      * Tries to judge whether the identification is certain enough
      * to be trusted.
      * WARNING: Will never return true for small amount of input texts. 
-     * @return
+     * @return <code>true</code> if the distance is smaller then {@value #CERTAINTY_LIMIT}, <code>false</code> otherwise
      */
     public boolean isReasonablyCertain() {
-        return distance < 0.022;
+        return distance < CERTAINTY_LIMIT;
     }
 
     /**
@@ -162,8 +163,9 @@
         errors = "";
         InputStream stream;
         stream = LanguageIdentifier.class.getResourceAsStream(PROPERTIES_OVERRIDE_FILE);
-        if(stream == null) 
+        if(stream == null) {
             stream = LanguageIdentifier.class.getResourceAsStream(PROPERTIES_FILE);
+        }
 
         if(stream != null){
             try {
@@ -187,9 +189,11 @@
     }
 
     /**
-     * Initializes the language profiles from a user supplied initilized Map
+     * Initializes the language profiles from a user supplied initialized Map.
      * This overrides the default set of profiles initialized at startup,
      * and provides an alternative to configuring profiles through property file
+     *
+     * @param profilesMap map of language profiles
      */
     public static void initProfiles(Map<String, LanguageProfile> profilesMap) {
         clearProfiles();
@@ -215,7 +219,7 @@
     
     /**
      * Returns a string of error messages related to initializing langauge profiles
-     * @return
+     * @return the String containing the error messages
      */
     public static String getErrors() {
         return errors;
Index: tika-parsers/src/main/java/org/apache/tika/parser/feed/FeedParser.java
===================================================================
--- tika-parsers/src/main/java/org/apache/tika/parser/feed/FeedParser.java	(revision 964885)
+++ tika-parsers/src/main/java/org/apache/tika/parser/feed/FeedParser.java	(revision )
@@ -75,7 +75,6 @@
             throw new TikaException(e.getMessage());
         }
 
-        String feedLink = feed.getLink();
         String feedDesc = stripTags(feed.getDescriptionEx());
         String feedTitle = stripTags(feed.getTitleEx());
 
Index: tika-core/src/main/java/org/apache/tika/metadata/Property.java
===================================================================
--- tika-core/src/main/java/org/apache/tika/metadata/Property.java	(revision 991956)
+++ tika-core/src/main/java/org/apache/tika/metadata/Property.java	(revision )
@@ -63,7 +63,7 @@
         this.valueType = valueType;
         if (choices != null) {
             this.choices = Collections.unmodifiableSet(
-                    new HashSet<String>(Arrays.asList(choices)));
+                    new HashSet<String>(Arrays.asList(choices.clone())));
         } else {
             this.choices = null;
         }
Index: tika-core/src/main/java/org/apache/tika/metadata/Metadata.java
===================================================================
--- tika-core/src/main/java/org/apache/tika/metadata/Metadata.java	(revision 992368)
+++ tika-core/src/main/java/org/apache/tika/metadata/Metadata.java	(revision )
@@ -177,17 +177,19 @@
      * @return property value as a Integer, or <code>null</code> if the property is not set, or not a valid Integer
      */
     public Integer getInt(Property property) {
-        if(property.getPropertyType() != Property.PropertyType.SIMPLE)
+        if(property.getPropertyType() != Property.PropertyType.SIMPLE) {
             return null;
-        if(property.getValueType() != Property.ValueType.INTEGER)
+        }
+        if(property.getValueType() != Property.ValueType.INTEGER) {
             return null;
+        }
         
         String v = get(property);
         if(v == null) {
             return null;
         }
         try {
-            return new Integer(v);
+            return Integer.valueOf(v);
         } catch(NumberFormatException e) {
             return null;
         }
@@ -201,10 +203,12 @@
      * @return property value as a Date, or <code>null</code> if the property is not set, or not a valid Date
      */
     public Date getDate(Property property) {
-        if(property.getPropertyType() != Property.PropertyType.SIMPLE)
+        if(property.getPropertyType() != Property.PropertyType.SIMPLE) {
             return null;
-        if(property.getValueType() != Property.ValueType.DATE)
+        }
+        if(property.getValueType() != Property.ValueType.DATE) {
             return null;
+        }
         
         String v = get(property);
         if (v != null) {
@@ -303,10 +307,12 @@
      * @param value    property value
      */
     public void set(Property property, int value) {
-        if(property.getPropertyType() != Property.PropertyType.SIMPLE)
+        if(property.getPropertyType() != Property.PropertyType.SIMPLE) {
             throw new PropertyTypeException(Property.PropertyType.SIMPLE, property.getPropertyType());
-        if(property.getValueType() != Property.ValueType.INTEGER)
+        }
+        if(property.getValueType() != Property.ValueType.INTEGER) {
             throw new PropertyTypeException(Property.ValueType.INTEGER, property.getValueType());
+        }
         set(property.getName(), Integer.toString(value));
     }
 
@@ -318,11 +324,13 @@
      * @param value    property value
      */
     public void set(Property property, double value) {
-        if(property.getPropertyType() != Property.PropertyType.SIMPLE)
+        if(property.getPropertyType() != Property.PropertyType.SIMPLE) {
             throw new PropertyTypeException(Property.PropertyType.SIMPLE, property.getPropertyType());
+        }
         if(property.getValueType() != Property.ValueType.REAL &&
-              property.getValueType() != Property.ValueType.RATIONAL)
+              property.getValueType() != Property.ValueType.RATIONAL) {
             throw new PropertyTypeException(Property.ValueType.REAL, property.getValueType());
+        }
         set(property.getName(), Double.toString(value));
     }
 
@@ -331,13 +339,15 @@
      *
      * @since Apache Tika 0.8
      * @param property simple integer property definition
-     * @param value    property value
+     * @param date     property value
      */
     public void set(Property property, Date date) {
-        if(property.getPropertyType() != Property.PropertyType.SIMPLE)
+        if(property.getPropertyType() != Property.PropertyType.SIMPLE) {
             throw new PropertyTypeException(Property.PropertyType.SIMPLE, property.getPropertyType());
-        if(property.getValueType() != Property.ValueType.DATE)
+        }
+        if(property.getValueType() != Property.ValueType.DATE) {
             throw new PropertyTypeException(Property.ValueType.DATE, property.getValueType());
+        }
         set(property.getName(), formatDate(date));
     }
 
