Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0C99D804 for ; Mon, 29 Oct 2012 15:16:54 +0000 (UTC) Received: (qmail 1528 invoked by uid 500); 29 Oct 2012 15:16:54 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 1459 invoked by uid 500); 29 Oct 2012 15:16:54 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 1450 invoked by uid 99); 29 Oct 2012 15:16:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 15:16:54 +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; Mon, 29 Oct 2012 15:16:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0C0AC23888E3 for ; Mon, 29 Oct 2012 15:16:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1403356 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java Date: Mon, 29 Oct 2012 15:16:09 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121029151610.0C0AC23888E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ggregory Date: Mon Oct 29 15:16:09 2012 New Revision: 1403356 URL: http://svn.apache.org/viewvc?rev=1403356&view=rev Log: Checkstyle: '}' should be alone on a line. Format throw on one line. Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java?rev=1403356&r1=1403355&r2=1403356&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java Mon Oct 29 15:16:09 2012 @@ -273,8 +273,10 @@ public class SftpFileSystem { StringBuilder output = new StringBuilder(); int code = executeCommand("id -u", output); - if (code != 0) { - throw new FileSystemException("Could not get the user id of the current user (error code: " + code + ")"); + if (code != 0) + { + throw new FileSystemException("Could not get the user id of the current user (error code: " + code + + ")"); } uid = Integer.parseInt(output.toString().trim()); }