java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c705b259ab62240dfffa6ab4efe025298f3b9509
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Jun 15 09:00:47 2011 +0200
Make the line shorter to pass checkstyle.
Addressing
Starting audit...
./code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java:587: Line is longer
than 92 characters.
Audit done.
diff --git a/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java
b/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java
index c291f91..9bd5935 100644
--- a/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java
+++ b/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java
@@ -584,7 +584,8 @@ public class DownloadFile extends DownloadAction {
if (rpmPackage != null && rpmPackage.getChecksum() != null &&
rpmPackage.getChecksum().getChecksum() != null) {
checksum = rpmPackage.getChecksum().getChecksum();
- response.setHeader("Content-Length",
String.valueOf(rpmPackage.getPackageSize()));
+ response.setHeader("Content-Length",
+ String.valueOf(rpmPackage.getPackageSize()));
}
else {
File f = new File(diskPath);
Show replies by date