fix the return in the finally block
authorMihaela Rosca <mihaelacr@google.com>
Fri, 15 May 2015 16:07:11 +0000 (18:07 +0200)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 9 Jun 2015 11:43:29 +0000 (20:43 +0900)
java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java

index 173461c..4bb8f2e 100644 (file)
@@ -664,10 +664,9 @@ public class PhoneNumberUtil {
         source.close();
       } catch (IOException e) {
         logger.log(Level.WARNING, "error closing input stream (ignored)", e);
-      } finally {
-        return metadataCollection;
       }
     }
+    return metadataCollection;
   }
 
   /**