manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1131021 - in /incubator/lcf/trunk/framework: agents/src/main/java/org/apache/manifoldcf/agents/interfaces/ pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/
Date Fri, 03 Jun 2011 13:00:51 GMT
Author: kwright
Date: Fri Jun  3 13:00:50 2011
New Revision: 1131021

URL: http://svn.apache.org/viewvc?rev=1131021&view=rev
Log:
More changes related to Java 1.5

Modified:
    incubator/lcf/trunk/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/RepositoryDocument.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IAbortActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IEventActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IFingerprintActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IHistoryActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/INamingActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IProcessActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/ISeedingActivity.java
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IVersionActivity.java

Modified: incubator/lcf/trunk/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/RepositoryDocument.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/RepositoryDocument.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/RepositoryDocument.java
(original)
+++ incubator/lcf/trunk/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/RepositoryDocument.java
Fri Jun  3 13:00:50 2011
@@ -38,10 +38,10 @@ public class RepositoryDocument
   // Member variables.
   protected InputStream binaryFieldData = null;
   protected long binaryLength = 0;
-  protected HashMap fields = new HashMap();
+  protected Map<String,Object> fields = new HashMap<String,Object>();
   protected Security fileSecurity = new Security();
   protected Security shareSecurity = new Security();
-  protected ArrayList directorySecurity = new ArrayList();
+  protected List<Security> directorySecurity = new ArrayList<Security>();
 
   /** Constructor.
   */
@@ -129,14 +129,14 @@ public class RepositoryDocument
   /** Get directory security access acl */
   public String[] getDirectoryACL(int index)
   {
-    Security s = (Security)directorySecurity.get(index);
+    Security s = directorySecurity.get(index);
     return s.getACL();
   }
 
   /** Get directory security deny acl */
   public String[] getDirectoryDenyACL(int index)
   {
-    Security s = (Security)directorySecurity.get(index);
+    Security s = directorySecurity.get(index);
     return s.getDenyACL();
   }
 
@@ -231,7 +231,7 @@ public class RepositoryDocument
 
   /** Iterate through the field name Strings.
   */
-  public Iterator getFields()
+  public Iterator<String> getFields()
   {
     return fields.keySet().iterator();
   }

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IAbortActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IAbortActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IAbortActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IAbortActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that handle job aborts.
 */

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IEventActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IEventActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IEventActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IEventActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that use and govern events.
 *

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IFingerprintActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IFingerprintActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IFingerprintActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IFingerprintActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 import java.io.*;
 
 /** This interface abstracts from the activities that handle document fingerprinting and
mime type acceptance.

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IHistoryActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IHistoryActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IHistoryActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IHistoryActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that manage history information.
 */

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/INamingActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/INamingActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/INamingActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/INamingActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that use global, connection-specific, and
job-specific names.
 *

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IProcessActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IProcessActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IProcessActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IProcessActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that a fetched document processor can do.
 */

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/ISeedingActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/ISeedingActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/ISeedingActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/ISeedingActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that a seeding operation can do.
 *

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IVersionActivity.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IVersionActivity.java?rev=1131021&r1=1131020&r2=1131021&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IVersionActivity.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/interfaces/IVersionActivity.java
Fri Jun  3 13:00:50 2011
@@ -20,7 +20,6 @@ package org.apache.manifoldcf.crawler.in
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
-import java.util.*;
 
 /** This interface abstracts from the activities that a versioning operation can do.
 * See IProcessActivity for a description of the event model.



Mime
View raw message