incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wso...@apache.org
Subject svn commit: r754540 - /incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java
Date Sat, 14 Mar 2009 22:00:04 GMT
Author: wsobel
Date: Sat Mar 14 22:00:04 2009
New Revision: 754540

URL: http://svn.apache.org/viewvc?rev=754540&view=rev
Log:
Fix for OLIO-67: Removed the l from the document file name when loading the database.

Modified:
    incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java

Modified: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java?rev=754540&r1=754539&r2=754540&view=diff
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java
(original)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/loader/Documents.java
Sat Mar 14 22:00:04 2009
@@ -44,7 +44,7 @@
             PreparedStatement s = c.prepareStatement(STATEMENT);
             s.setInt(1, 129585);
             s.setString(2, "application/pdf");
-            s.setString(3, "e" + eventId + "l.pdf");
+            s.setString(3, "e" + eventId + ".pdf");
             s.setInt(4, this.eventId);
             c.addBatch();
         } catch (SQLException e) {



Mime
View raw message