Author: rdonkin
Date: Fri Dec  6 08:04:17 2013
New Revision: 1548396

URL: http://svn.apache.org/r1548396
Log:
Use Interface is better than implementations

Modified:
    
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java

Modified: 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
URL: 
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java?rev=1548396&r1=1548395&r2=1548396&view=diff
==============================================================================
--- 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
 (original)
+++ 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/BinaryGuesserTest.java
 Fri Dec  6 08:04:17 2013
@@ -27,6 +27,7 @@ import java.io.Reader;
 
 import org.apache.rat.document.MockDocument;
 import org.apache.rat.document.impl.FileDocument;
+import org.apache.rat.api.Document;
 import org.junit.Test;
 
 public class BinaryGuesserTest {
@@ -60,7 +61,7 @@ public class BinaryGuesserTest {
      */
     @Test
     public void binaryWithMalformedInputRAT81() throws Throwable {
-        FileDocument doc =
+        Document doc =
                 new FileDocument(new File(
                         
"src/test/resources/binaries/UTF16_with_signature.xml"));
         Reader r = null;


Reply via email to