Browse Source

Merge pull request #1270 from keghani/remove-single-file-metadata

Remove unused single file metadata
pull/1271/head
Andy Staudacher 9 years ago
committed by GitHub
parent
commit
09987ba339
4 changed files with 1 additions and 25 deletions
  1. +0
    -15
      java/build.xml
  2. +0
    -10
      java/libphonenumber/pom.xml
  3. BIN
      java/libphonenumber/src/com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProto
  4. +1
    -0
      java/pending_code_changes.txt

+ 0
- 15
java/build.xml View File

@ -45,21 +45,6 @@
</exec>
</target>
<target name="build-single-file-phone-metadata">
<exec executable="java">
<arg value="-jar" />
<arg value="${build.tools.jar}"/>
<arg value="BuildMetadataProtoFromXml"/>
<arg value="--input-file=${resources.dir}/PhoneNumberMetadata.xml"/>
<arg value="--output-dir=${libphonenumber.src.dir}/com/google/i18n/phonenumbers"/>
<arg value="--data-prefix=data/SingleFilePhoneNumberMetadataProto"/>
<arg value="--single-file=true"/>
<arg value="--mapping-class=CountryCodeToRegionCodeMap"/>
<arg value="--copyright=2010"/>
<arg value="--lite-build=false"/>
</exec>
</target>
<target name="build-short-metadata">
<exec executable="java">
<arg value="-jar" />


+ 0
- 10
java/libphonenumber/pom.xml View File

@ -29,16 +29,6 @@
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<excludes>
<exclude>com/google/i18n/phonenumbers/SingleFileMetadataSourceImpl.class</exclude>
<exclude>com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProto</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version>


BIN
java/libphonenumber/src/com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProto View File


+ 1
- 0
java/pending_code_changes.txt View File

@ -1,2 +1,3 @@
- Deleted unsupported SingleFilePhoneNumberMetadataProto.
Code changes:
- Refactored metadata loading and closed all streams after loading.

Loading…
Cancel
Save