JAVA: Removing @Override for 1.5 compatibility
authorlararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Thu, 10 Mar 2011 10:39:52 +0000 (10:39 +0000)
committerlararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Thu, 10 Mar 2011 10:39:52 +0000 (10:39 +0000)
git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@107 ee073f10-1060-11df-b6a4-87a95322a99c

java/src/com/google/i18n/phonenumbers/PhoneNumberMatcher.java
java/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java

index 5121c25..1905b5e 100644 (file)
@@ -192,7 +192,6 @@ final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
     this.maxTries = maxTries;
   }
 
-  @Override
   public boolean hasNext() {
     if (state == State.NOT_READY) {
       lastMatch = find(searchIndex);
@@ -206,7 +205,6 @@ final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
     return state == State.READY;
   }
 
-  @Override
   public PhoneNumberMatch next() {
     // Check the state and find the next match as a side-effect if necessary.
     if (!hasNext()) {
@@ -332,7 +330,6 @@ final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
   /**
    * Always throws {@link UnsupportedOperationException} as removal is not supported.
    */
-  @Override
   public void remove() {
     throw new UnsupportedOperationException();
   }
index df486bc..52b826e 100644 (file)
@@ -1975,7 +1975,6 @@ public class PhoneNumberUtil {
       final long maxTries) {
 
     return new Iterable<PhoneNumberMatch>() {
-      @Override
       public Iterator<PhoneNumberMatch> iterator() {
         return new PhoneNumberMatcher(
             PhoneNumberUtil.this, text, defaultCountry, leniency, maxTries);