Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added metadata-extractor-2.6.2.jar to eclipse classpath, removed old lib

Michael Peter Christenc4538d8d9147
diff --git a/.classpath b/.classpath
index 9066eb4fc..8fce16333 100644
--- a/.classpath
+++ b/.classpath
@@ -26,7 +26,6 @@
<classpathentry kind="lib" path="lib/jakarta-oro-2.0.8.jar"/>
<classpathentry kind="lib" path="lib/mysql-connector-java-5.1.12-bin.jar"/>
<classpathentry kind="lib" path="lib/jcifs-1.3.15.jar"/>
- <classpathentry kind="lib" path="lib/metadata-extractor-2.4.0-beta-1.jar"/>
<classpathentry kind="lib" path="lib/apache-mime4j-0.6.jar"/>
<classpathentry kind="lib" path="lib/commons-fileupload-1.2.2.jar" sourcepath="/Users/admin/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2-sources.jar"/>
<classpathentry kind="lib" path="lib/json-simple-1.1.jar"/>
@@ -71,6 +70,7 @@
<classpathentry kind="lib" path="lib/solr-core-4.3.0.jar"/>
<classpathentry kind="lib" path="lib/solr-solrj-4.3.0.jar"/>
<classpathentry kind="lib" path="lib/noggit-0.5.jar"/>
+ <classpathentry kind="lib" path="lib/metadata-extractor-2.6.2.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/icu4j-core.jar"/>
<classpathentry kind="lib" path="lib/htmllexer.jar"/>
diff --git a/lib/metadata-extractor-2.4.0-beta-1.License b/lib/metadata-extractor-2.4.0-beta-1.License
deleted file mode 100644
index 15b62f428..000000000
--- a/lib/metadata-extractor-2.4.0-beta-1.License
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * This is public domain software - that is, you can do whatever you want
- * with it, and include it software that is licensed under the GNU or the
- * BSD license, or whatever other licence you choose, including proprietary
- * closed source licenses. I do ask that you leave this header in tact.
- *
- * If you make modifications to this code that you think would benefit the
- * wider community, please send me a copy and I'll post it on my site.
- *
- * If you make use of this code, I'd appreciate hearing about it.
- * metadata_extractor [at] drewnoakes [dot] com
- * Latest version of this software kept at
- * http://drewnoakes.com/
- *
- * Created by Darren Salomons & Drew Noakes.
- */
diff --git a/source/net/yacy/document/parser/images/genericImageParser.java b/source/net/yacy/document/parser/images/genericImageParser.java
index 19638ff4d..27c45440e 100644
--- a/source/net/yacy/document/parser/images/genericImageParser.java
+++ b/source/net/yacy/document/parser/images/genericImageParser.java
@@ -140,12 +140,10 @@ public class genericImageParser extends AbstractParser implements Parser {
// alternative to above: to read all included jpeg tags and metadata
// final Metadata metadata = JpegMetadataReader.readMetadata(new ByteArrayInputStream(b));
- @SuppressWarnings("unchecked")
final Iterator<Directory> directories = metadata.getDirectories().iterator();
final HashMap<String, String> props = new HashMap<String, String>();
while (directories.hasNext()) {
- final Directory directory = directories.next();
- @SuppressWarnings("unchecked")
+ final Directory directory = directories.next();
final Iterator<Tag> tags = directory.getTags().iterator();
while (tags.hasNext()) {
final Tag tag = tags.next();