]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-3911: Removed unused variable, added only during testing.
authorAron Roberts <aron@socrates.berkeley.edu>
Mon, 19 Mar 2012 20:04:38 +0000 (13:04 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Mon, 19 Mar 2012 20:04:38 +0000 (13:04 -0700)
services/imports/service/src/main/java/org/collectionspace/services/imports/ImportsResource.java

index dae22ab4235390f8e371ceb6bdbac2b633b33278..6fc0db06c10b8958a6fda3f6a8b0dd76af7b8c43 100644 (file)
@@ -301,7 +301,6 @@ public class ImportsResource extends ResourceBase {
                         // FIXME For an alternate approach, potentially preferable, see:
                         // http://stackoverflow.com/questions/4586222/right-way-of-formatting-an-input-stream
                         String str = encodeAmpersands(part.getBodyAsString());
-                        byte[] buf = str.getBytes("UTF8");
                         InputStream stream = new ByteArrayInputStream(str.getBytes("UTF8"));
                         InputSource inputSource = new InputSource(stream);
                         // InputSource inputSource = new InputSource(part.getBody(InputStream.class, null));