Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0922A7416 for ; Wed, 12 Oct 2011 08:00:57 +0000 (UTC) Received: (qmail 57212 invoked by uid 500); 12 Oct 2011 08:00:55 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 57189 invoked by uid 500); 12 Oct 2011 08:00:54 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 57181 invoked by uid 99); 12 Oct 2011 08:00:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 08:00:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 08:00:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6E6B12388AA9; Wed, 12 Oct 2011 08:00:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1182247 - /chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java Date: Wed, 12 Oct 2011 08:00:30 -0000 To: commits@chemistry.apache.org From: jens@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111012080030.6E6B12388AA9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jens Date: Wed Oct 12 08:00:30 2011 New Revision: 1182247 URL: http://svn.apache.org/viewvc?rev=1182247&view=rev Log: change file name extensions to xml [CMIS-443] Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java?rev=1182247&r1=1182246&r2=1182247&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java Wed Oct 12 08:00:30 2011 @@ -365,10 +365,10 @@ public class Main { } private void renameFiles(String name) { - String fileNameInReq = String.format("%05d-request.xml", requestCounter); - String fileNameInResp = String.format("%05d-response.xml", requestCounter); + String fileNameInReq = String.format("%05d-request.log", requestCounter); + String fileNameInResp = String.format("%05d-response.log", requestCounter); File in = new File(logDir + fileNameInReq); - File out = new File(name + "-request.log"); + File out = new File(name + "-request.xml"); if (out.exists()) out.delete(); boolean ok = in.renameTo(out); @@ -378,7 +378,7 @@ public class Main { LOG.warn("Renaming file " + in.getAbsolutePath() + " to " + out.getAbsolutePath() + " failed."); in = new File(logDir + fileNameInResp); - out = new File(name + "-response.log"); + out = new File(name + "-response.xml"); if (out.exists()) out.delete(); ok = in.renameTo(out);