incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r741112 - /incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java
Date Thu, 05 Feb 2009 14:40:59 GMT
Author: bdelacretaz
Date: Thu Feb  5 14:40:59 2009
New Revision: 741112

URL: http://svn.apache.org/viewvc?rev=741112&view=rev
Log:
SLING-738 - remove useless variables

Modified:
    incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java

Modified: incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java?rev=741112&r1=741111&r2=741112&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java
(original)
+++ incubator/sling/trunk/extensions/jcrinstall/service/src/test/java/org/apache/sling/jcr/jcrinstall/jcr/impl/ResourceDetectionTest.java
Thu Feb  5 14:40:59 2009
@@ -95,7 +95,6 @@
         contentHelper.setupContent();
         
         final String dummyJar = "/libs/foo/bar/install/dummy.jar";
-        final InputStream data = new ByteArrayInputStream(dummyJar.getBytes());
         final MockInstallableData da = new MockInstallableData("a");
         final MockInstallableData db = new MockInstallableData("b");
         final Set<String> installedUri = new HashSet<String>();
@@ -161,7 +160,6 @@
                 "/libs/foo/bar/install/dummy.cfg",
                 "/libs/foo/bar/install/dummy.dp"
         };
-        final InputStream data = new ByteArrayInputStream("hello".getBytes());
         final MockInstallableData da = new MockInstallableData("a");
         final Set<String> installedUri = new HashSet<String>();
         final OsgiController c = mockery.mock(OsgiController.class);
@@ -205,7 +203,6 @@
                 "/libs/foo/bar/install/dummy.longextension"
         };
         
-        final InputStream data = new ByteArrayInputStream("hello".getBytes());
         final MockInstallableData da = new MockInstallableData("a");
         final Set<String> installedUri = new HashSet<String>();
         final OsgiController c = mockery.mock(OsgiController.class);
@@ -306,7 +303,6 @@
                 "/libs/foo/bar/install/dummy.cfg",
                 "/libs/foo/bar/install/dummy.dp"
         };
-        final InputStream data = new ByteArrayInputStream("hello".getBytes());
         final MockInstallableData da = new MockInstallableData("a");
         final Set<String> installedUri = new HashSet<String>();
         final OsgiController c = mockery.mock(OsgiController.class);



Mime
View raw message