You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/10/29 16:08:01 UTC
svn commit: r1403347 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java
Author: ggregory
Date: Mon Oct 29 15:08:00 2012
New Revision: 1403347
URL: http://svn.apache.org/viewvc?rev=1403347&view=rev
Log:
Checkstyle: '}' should be alone on a line. Use a longer line length on one line.
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java?rev=1403347&r1=1403346&r2=1403347&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java Mon Oct 29 15:08:00 2012
@@ -36,8 +36,7 @@ public class HttpFileContentInfoFactory
@Override
public FileContentInfo create(FileContent fileContent) throws FileSystemException
{
- HttpFileObject httpFile = (HttpFileObject) FileObjectUtils
- .getAbstractFileObject(fileContent.getFile());
+ HttpFileObject httpFile = (HttpFileObject) FileObjectUtils.getAbstractFileObject(fileContent.getFile());
String contentType = null;
String contentEncoding = null;
@@ -46,7 +45,8 @@ public class HttpFileContentInfoFactory
try
{
headMethod = httpFile.getHeadMethod();
- } catch (IOException e)
+ }
+ catch (IOException e)
{
throw new FileSystemException(e);
}