commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jua...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jrcs/src/test/org/apache/commons/jrcs/rcs ChangeDeltaTest.java
Date Tue, 06 May 2003 15:05:12 GMT
juanco      2003/05/06 08:05:12

  Modified:    jrcs/src/java/org/apache/commons/jrcs/diff Diff.java
                        SimpleDiff.java
               jrcs/src/java/org/apache/commons/jrcs/rcs Archive.java
                        ArchiveParserTokenManager.java KeywordsFormat.java
                        Path.java
               jrcs/src/test/org/apache/commons/jrcs/rcs
                        ChangeDeltaTest.java
  Log:
  cleaned up imports using the Eclipse IDE
  
  Revision  Changes    Path
  1.11      +3 -12     jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/Diff.java
  
  Index: Diff.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/Diff.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Diff.java	6 May 2003 14:59:12 -0000	1.10
  +++ Diff.java	6 May 2003 15:05:11 -0000	1.11
  @@ -57,19 +57,10 @@
   
   package org.apache.commons.jrcs.diff;
   
  -import java.util.Collections;
  -import java.util.ArrayList;
  -import java.util.Arrays;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.LinkedList;
  -import java.util.List;
  -import java.util.Map;
  -import java.util.Random;
  -import java.util.Set;
  +import java.util.*;
   
  -import org.apache.commons.jrcs.util.ToString;
   import org.apache.commons.jrcs.diff.myers.MyersDiff;
  +import org.apache.commons.jrcs.util.ToString;
   
   /**
    * Implements a differencing engine that works on arrays of {@link Object Object}.
  
  
  
  1.4       +2 -13     jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/SimpleDiff.java
  
  Index: SimpleDiff.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/SimpleDiff.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SimpleDiff.java	6 May 2003 14:59:12 -0000	1.3
  +++ SimpleDiff.java	6 May 2003 15:05:11 -0000	1.4
  @@ -57,18 +57,7 @@
   
   package org.apache.commons.jrcs.diff;
   
  -import java.util.Collections;
  -import java.util.ArrayList;
  -import java.util.Arrays;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.LinkedList;
  -import java.util.List;
  -import java.util.Map;
  -import java.util.Random;
  -import java.util.Set;
  -
  -import org.apache.commons.jrcs.util.ToString;
  +import java.util.*;
   
   /**
    * Implements a simple differencing algortithm.
  
  
  
  1.7       +4 -20     jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/Archive.java
  
  Index: Archive.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/Archive.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Archive.java	6 May 2003 14:59:13 -0000	1.6
  +++ Archive.java	6 May 2003 15:05:12 -0000	1.7
  @@ -57,28 +57,12 @@
   
   package org.apache.commons.jrcs.rcs;
   
  -import java.io.File;
  -import java.io.FileOutputStream;
  -import java.io.OutputStream;
  -import java.io.OutputStreamWriter;
  -import java.io.InputStream;
  -import java.io.FileNotFoundException;
  -import java.io.IOException;
  -import java.text.Format;
  -import java.text.MessageFormat;
  -import java.util.Collections;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.Map;
  -import java.util.Set;
  -import java.util.TreeMap;
  -import java.util.TreeSet;
  -import java.util.List;
  -import java.util.LinkedList;
  +import java.io.*;
  +import java.util.*;
   
   import org.apache.commons.jrcs.diff.Diff;
  -import org.apache.commons.jrcs.diff.PatchFailedException;
   import org.apache.commons.jrcs.diff.DiffException;
  +import org.apache.commons.jrcs.diff.PatchFailedException;
   import org.apache.commons.jrcs.util.ToString;
   
   
  
  
  
  1.4       +0 -4      jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/ArchiveParserTokenManager.java
  
  Index: ArchiveParserTokenManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/ArchiveParserTokenManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ArchiveParserTokenManager.java	26 Sep 2002 17:43:15 -0000	1.3
  +++ ArchiveParserTokenManager.java	6 May 2003 15:05:12 -0000	1.4
  @@ -1,9 +1,5 @@
   /* Generated By:JavaCC: Do not edit this line. ArchiveParserTokenManager.java */
   package org.apache.commons.jrcs.rcs;
  -import java.util.Map;
  -import java.io.FileInputStream;
  -import java.io.FileNotFoundException;
  -import java.io.InputStream;
   
   public class ArchiveParserTokenManager implements ArchiveParserConstants
   {
  
  
  
  1.3       +1 -8      jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/KeywordsFormat.java
  
  Index: KeywordsFormat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/KeywordsFormat.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- KeywordsFormat.java	6 May 2003 14:59:13 -0000	1.2
  +++ KeywordsFormat.java	6 May 2003 15:05:12 -0000	1.3
  @@ -60,14 +60,7 @@
   import java.text.Format;
   import java.text.MessageFormat;
   
  -import org.apache.oro.text.perl.Perl5Util;
  -import org.apache.oro.text.regex.Perl5Matcher;
  -import org.apache.oro.text.regex.StringSubstitution;
  -import org.apache.oro.text.regex.Substitution;
  -import org.apache.oro.text.regex.Util;
  -import org.apache.oro.text.regex.Pattern;
  -import org.apache.oro.text.regex.Perl5Compiler;
  -import org.apache.oro.text.regex.MalformedPatternException;
  +import org.apache.oro.text.regex.*;
   
   /**
    * Formatter for the RCS keywords. It is intended as an helper class to
  
  
  
  1.3       +2 -3      jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/Path.java
  
  Index: Path.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/rcs/Path.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Path.java	6 May 2003 14:59:13 -0000	1.2
  +++ Path.java	6 May 2003 15:05:12 -0000	1.3
  @@ -58,9 +58,8 @@
   package org.apache.commons.jrcs.rcs;
   
   import java.util.Iterator;
  -import java.util.List;
   import java.util.LinkedList;
  -import java.util.ArrayList;
  +import java.util.List;
   
   import org.apache.commons.jrcs.diff.PatchFailedException;
   
  
  
  
  1.4       +5 -4      jakarta-commons-sandbox/jrcs/src/test/org/apache/commons/jrcs/rcs/ChangeDeltaTest.java
  
  Index: ChangeDeltaTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/test/org/apache/commons/jrcs/rcs/ChangeDeltaTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ChangeDeltaTest.java	6 May 2003 14:59:17 -0000	1.3
  +++ ChangeDeltaTest.java	6 May 2003 15:05:12 -0000	1.4
  @@ -57,10 +57,11 @@
   
   package org.apache.commons.jrcs.rcs;
   
  -import junit.framework.*;
  -import org.apache.commons.jrcs.rcs.*;
  -import org.apache.commons.jrcs.diff.*;
  -import org.apache.commons.jrcs.util.*;
  +import junit.framework.Test;
  +import junit.framework.TestCase;
  +import junit.framework.TestSuite;
  +
  +import org.apache.commons.jrcs.diff.Diff;
   
   public class ChangeDeltaTest extends TestCase
   {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message